Imap Message Encoding Problem

Some mail content received from the imap server looks as follows: = C3 = B6 = C3 = BC = C3 = B6 = C3 = BC = C3 = B6 = C3 = BC = what is this encoding? The mail header encoding is UTF-8, but decoding with UTF-8 I got a scrambled message.

Any help is greatly appreciated.

+3
source share
1 answer

Quoted-print

It is used to transfer 8-bit data through a 7-bit medium.

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

76 , , , =, , .

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

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

-

+4

Source: https://habr.com/ru/post/1756529/


All Articles