[Info-vax] Mail reading/processing problem, UTF-8

Steven Schweda sms.antinode at gmail.com
Sat Aug 20 18:23:21 EDT 2011


On Aug 20, 2:54 pm, Jan-Erik Soderholm <jan-erik.soderh... at telia.com>
wrote:

> Subject: =?utf-8?B?U8OlbHQgb2JqZWt0OiA0IHN0IFVMTjI4MDMgZGFybGluZ3Rv?=
>   =?utf-8?B?biBkcml2ZXJzLiBESVAgLCAxMzcyNTc0NjEuIEvDtnBhcmU6IGJlbmd0?=
>   =?utf-8?B?dy00OA==?=
> [...]
> So, how to decode that "=?utf-8?B?U8O......" string into
> something readable ?
> [...]

   I know nothing, but a quick Google search led to:

      http://en.wikipedia.org/wiki/MIME

Look for "Encoded-Word".  If you have "?utf-8?B?WXYZ?" and a
Base64 decoding program, then run "WXYZ" through the program.
For example, using junk I have lying around:

alp $ type subj.txt
U8OlbHQgb2JqZWt0OiA0IHN0IFVMTjI4MDMgZGFybGluZ3Rv
biBkcml2ZXJzLiBESVAgLCAxMzcyNTc0NjEuIEvDtnBhcmU6IGJlbmd0
dy00OA==

alp $ b64decode subj.txt tt:
SÃ¥lt objekt: 4 st ULN2803 darlington drivers. DIP ,
137257461. Köpare: bengtw-48

   Does that look plausible?  It doesn't do much with the
UTF-8 itself, but it does let you see the stuff.

   I have no idea where I found the b64decode.c and
b64encode.c programs in my collection (19-DEC-1999), but let
me know if you can't find anything which works.



More information about the Info-vax mailing list