R
Robert-Paul
I have some big trouble getting special characters right when reading from a
mailbox. I have a class that reads e-mails from a mailboxusing pop3
(language C#). I have tried various approaches from suggestions that I have
received from newsgroups.
Here's a small sample from how the e-mail looks like just after it is
received: (some headers removed)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: base64
Hi there! =
This is a test ISO-8859-1 =20
=3D=20
I have tried several ways to display this text correctly, for example this:
Encoding enc = Encoding.GetEncoding("iso-8859-1");
But var 'enc' does not display correctly.
If anyone can tell me what I am doing wrong or how to convert an e-mail,
written in ISO-8859-1 to normal text?
Greetings
Robert-Paul
http://www.robertp.nl
mailbox. I have a class that reads e-mails from a mailboxusing pop3
(language C#). I have tried various approaches from suggestions that I have
received from newsgroups.
Here's a small sample from how the e-mail looks like just after it is
received: (some headers removed)
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: base64
Hi there! =
This is a test ISO-8859-1 =20
=3D=20
I have tried several ways to display this text correctly, for example this:
Encoding enc = Encoding.GetEncoding("iso-8859-1");
But var 'enc' does not display correctly.
If anyone can tell me what I am doing wrong or how to convert an e-mail,
written in ISO-8859-1 to normal text?
Greetings
Robert-Paul
http://www.robertp.nl