Hexadecimal value 0x00 is a invalid character

后端 未结 6 1727
悲&欢浪女
悲&欢浪女 2020-12-17 08:06

I am generating an XML document from a StringBuilder, basically something like:

string.Format(\"{0}{1}         


        
6条回答
  •  囚心锁ツ
    2020-12-17 08:25

    I also get the same error in an ASP.NET application when I saved some unicode data (Hindi) in the Web.config file and saved it with "Unicode" encoding.

    It fixed the error for me when I saved the Web.config file with "UTF-8" encoding.

提交回复
热议问题