简体   繁体   English

c#中的ISO 8859编码

[英]ISO 8859 Encoding in c#

I want to know encoding name which supports all the ISO-8859 (like ISO-8859-1,ISO-8859-2,etc.). 我想知道支持所有ISO-8859的编码名称(例如ISO-8859-1,ISO-8859-2等)。 Can you please help me out of this.? 你能帮我这个忙吗?

I have used, 我用过,

using (var ms = new MemoryStream(Encoding.GetEncoding("iso-8859-1").GetBytes(xmlText)))

but it does not support degree symbol. 但它不支持度数符号。

Thanks, Ganesh. 谢谢,Ganesh。 K ķ

As pointed out by others, ISO-8859-1 does include the degree symbol. 正如其他人指出的那样,ISO-8859-1 确实包含度数符号。

Take a look at this question for help on how to debug. 查看此问题以获取有关如何调试的帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM