Search   Feed   Browse   Add
Feed items 1 - 4 of 4 for January 2008

Re: Problem processing UTF-8 strings from email by Juerd Waalboer - January 13, 2008

Tatsuhiko Miyagawa skribis 2008-01-12 16:42 (-0800):> use Encode;> use Encode::MIME::Header;> decode("MIME-Header", $bytes);Note that you don&39;t have to "use Encode::MIME::Header;". Doing this orleaving it out is a matter of personal preference, of course.-- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <juerd.nl> <http:juerd.nlsig> Convolution: ICT solutions and consultancy...
http://www.nntp.perl.org/group/perl.unicode/2008/01/msg3136.html

Re: Problem processing UTF-8 strings from email by Neil Gunton - January 12, 2008

Tatsuhiko Miyagawa wrote:> use Encode;> use Encode::MIME::Header;> decode("MIME-Header", $bytes);> > to get the Unicode strings for these MIME encoded characters.> > If you want to turn them into HTML entities, you can say:> > encode("ascii", decode("MIME-Header", $bytes), Encode::FB_HTMLCREF);Wonderful, yes, that worked! Thanks VERY much. I&39;m slapping my forehead for failing to realize that this was MIME...
http://www.nntp.perl.org/group/perl.unicode/2008/01/msg3135.html

Re: Problem processing UTF-8 strings from email by Tatsuhiko Miyagawa - January 12, 2008

On 11208, Neil Gunton <neilnilspace.com> wrote:>> I am somewhat experienced with Perl in general, but absolutely no> experience dealing with UTF-8. I have a community journals website which> allows updates from users via email. I&39;m having trouble with emails that> contain Chinese characters encoded (I think) as UTF-8. The strings look> like this:>> =UTF-8B5qGQ5LmhLCBUb25neGlhbmc6IEJlaW5nIGEgJ2hhbg=== =UTF-8BdHUn=>> When I read this text from a file, using..
http://www.nntp.perl.org/group/perl.unicode/2008/01/msg3134.html

Problem processing UTF-8 strings from email by Neil Gunton - January 12, 2008

(Apologies if you see a duplicate - I think I may have originally sent this to the wrong list)Hi all,I am somewhat experienced with Perl in general, but absolutely no experience dealing with UTF-8. I have a community journals website which allows updates from users via email. I&39;m having trouble with emails that contain Chinese characters encoded (I think) as UTF-8. The strings look like this:=UTF-8B5qGQ5LmhLCBUb25neGlhbmc6IEJlaW5nIGEgJ2hhbg=== =UTF-8BdHUn=When I read this text from a file,...
http://www.nntp.perl.org/group/perl.unicode/2008/01/msg3133.html
Available Archives
- January (4 items)
- March (19 items)
- April (1 item)
- May (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact