RE: Problem processing UTF-8 strings from email

[email protected] ("Thurn, Martin") Mon, 14 Jan 2008 07:24:18 -0600
Newsgroups perl.i18n
Message-ID <[email protected]>
I believe that format is RFC 2047 Mime Header Encoding, try the
Encode::MIME::Header module to decode it=20
http://perldoc.perl.org/Encode/MIME/Header.html=20


 - - Martin=20

-----Original Message-----
From: Neil Gunton [mailto:[email protected]]=20
Sent: Saturday, January 12, 2008 19:18
To: [email protected]
Subject: Problem processing UTF-8 strings from email

Hi all,

I am somewhat experienced with Perl in general, but absolutely no=20
experience dealing with UTF-8. I have a community journals website which

allows updates from users via email. I'm having trouble with emails that

contain Chinese characters encoded (I think) as UTF-8. The strings look=20
like this:

=3D?UTF-8?B?5qGQ5LmhLCBUb25neGlhbmc6IEJlaW5nIGEgJ2hhbg=3D=3D?=3D
=3D?UTF-8?B?dHUn?=3D