Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在向我的表单提交一个中文字符,但是一旦提交它就会作为 XML 数字字符参考出现。例如,我正在输入这个星洲,我的表单的值是星洲
星洲
星洲
任何输入如何将此 XML 数字字符引用转换为等效的中文字符?
您提交和返回的值与谷歌翻译器相同。就编码而言,您可以使用 UTFEncoding 来存储和显示数据以避免损坏。