c++ - Decode funny ISO encoding of e-mail message -


I have an email body (recovered by pole [buffer, POP3], this is apparently the ISO Code uses some markup for the page, such as topic

  da ?? I ?? T ¤¤¤ schlümmer Test   

is encoded as

  =? Iso-8859-1? Q? D = DF_I = DFT_ (Environment: Win32, C ++, I VC2008.)   

Is called a encoded-word and is defined by. This form =? , where the data appears to be base-64 (b) or something like that is quoted-printable (Q) but not enough (because _ means one place).

The C ++ decoder will take you through a byte string. To get the Unicode string, you will then need to use the charset.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

ruby on rails - Convert a Activerecord result with has_one associations into a single hash per record -

javascript - Read complete data from stream from onMessage -