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);
 
Back
Top