Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Japanese in Perl on Linux
- Date: Wed, 12 May 2004 13:17:52 +0900
- From: simon colston <simon@example.com>
- Subject: Re: [tlug] Japanese in Perl on Linux
- References: <1084328057.18154.17.camel@example.com>
- User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)
Blomberg David wrote: > (first version output is just question marks) > ------Second version---------------------------------- > $temp = MIME::Base64::encode("不正パスワード情報"); > chomp($temp); > print MAIL "=?ISO-2022-JP?B?$temp?=\n"; > > (this one I get the string > =?ISO-2022-JP?B?Pz8/Pz8/Pz8/?= > mime encoded Japanese text as best I can tell) > ----------------------------------------------------- I don't know anything about perl but don't you need to change the character encoding of "不正パスワード情報" from the encoding of your script file (EUC-JP ?) to ISO-2022-JP before Base64 encoding it? simon
- References:
- [tlug] Japanese in Perl on Linux
- From: Blomberg David
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Japanese in Perl on Linux
- Next by Date: Re: [tlug] Japanese in Perl on Linux
- Previous by thread: Re: [tlug] Japanese in Perl on Linux
- Next by thread: Re: [tlug] Japanese in Perl on Linux
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links