How can I decode a string encoded into 8859-1 ?

  • Thread starter Thread starter Olivier
  • Start date Start date
O

Olivier

I receive from a pop server messages with encoding title.

How can I decode this title which is encoded into 8859-1 ?


Olivier Blondin.
(e-mail address removed)
 
This seems to do it:

Encoding enc = Encoding.GetEncoding("iso-8859-1");
string decoded = enc.GetString(data);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top