in reply to asian characters in email subject line

There is an Encode::MIME::Header in the Encode package on CPAN, which is included (I think) in Perl 5.8. It will work with UTF-8. I don't see a module that will do other character sets.
  • Comment on Re: asian characters in email subject line

Replies are listed 'Best First'.
Re: Re: asian characters in email subject line
by shenme (Priest) on Aug 06, 2003 at 05:21 UTC
    This looks like a winner for decoding. It handles the 'B' that indicates Base64 encoding. And it uses Encode's find_encoding to locate info on, say, 'Big5' charset.

    On encoding author has an explicit apology that he only does encoding to UTF-8. But he does say he believes all mail clients should handle UTF-8 encoding these days, so maybe this shouldn't be a problem.

    Hmmm, Encode says requires 5.7.3 or later. ggs can you use Perl 5.8 to run your program?