How to convert UTF-8 and Unicode to normal text ?

Posted by Mehdi Amrollahi on Stack Overflow See other posts from Stack Overflow or by Mehdi Amrollahi
Published on 2010-06-12T10:34:13Z Indexed on 2010/06/12 10:43 UTC
Read the original article Hit count: 240

Filed under:
|
|
|

I have a downloader program that download pages from internet . the encoding of each page is different , some are in UTF-8 and some are Unicode. For example : a that shows 'a' character ; pages full of this characters .We should convert this encodings to normal text .

I used the UnicodeEncoding class in c# , but they do not help me .

How can i decode this encodings to real characters? Is there a class or method that converting this ?

Thanks .

© Stack Overflow or respective owner

Related posts about c#

Related posts about encoding