views:

59

answers:

1

Some of the mails contents fetched from imap server looks like =C3=B6=C3=BC=C3=B6=C3=BC=C3=B6=C3=BC= what kind of encoding is this? Mail header encoding is UTF-8 but decoding with UTF-8 i got scrambled msg.

Any help is much appreciated.

+3  A: 

Quoted-Printable

It is used to transmit 8-bit data over a 7-bit medium.

Characters are converted from 8-bit to three 7-bit characters in the form =XX where XX is the hexadecimal character code for the 8-bit character, the = character will become =3D.

The length of a line is restricted to 76 characters, soft line breaks are added to comply with this rule, this is done by ending with a = to indicate that the line should continue.

http://tools.ietf.org/html/rfc2045

http://en.wikipedia.org/wiki/Quoted-printable

Online Decoder

Chris Diver