开发者

ISO-8859-1 decode vb.net

开发者 https://www.devze.com 2022-12-30 20:20 出处:网络
I\'m having problems decoding a file with \"ISO-8859-1\" encoding. For example, I 开发者_StackOverflowcan\'t decode \"%E7\" to \"ç\". Can you help me?

I'm having problems decoding a file with "ISO-8859-1" encoding.

For example, I 开发者_StackOverflowcan't decode "%E7" to "ç". Can you help me?

P.S.: I'm using VB.NET

Thanks, Pedro


%E7 is not a string that's encoded in 8859-1. It looks like URL encoding. Use HttpUtility.UrlDecode(str, Encoding.GetEncoding("iso-8859-1"))

0

精彩评论

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