开发者

How to convert ISO-8859-1 charset to normal string

I have a asp.net application and I uses ISO-8859-1 charset. But It is not OK. In the postback, I got ISO-8859-1 keycode. But the applicati开发者_开发百科on response next time, it is display like this. How can convert to normal fonts.

ေနေကာင္းလား


 Encoding encoding = Encoding.GetEncoding("ISO-8859-1");
 var normalText= HttpUtility.UrlDecode(encodedText);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜