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] perl, cgi, and moji-baki-SOLVED
- Date: Wed, 26 Jan 2005 17:48:01 +0900
- From:
- Subject: Re: [tlug] perl, cgi, and moji-baki-SOLVED
- References: <20050126.132205.846939652.dave@?om> <IDEBIMGDAKLIOLIMNIKGEEPJCEAA.erin@example.com>
- User-agent: Mutt/1.5.6i
Basically JIS is the default encoding for email in japan... You should use Lingua::JA::Mail as Dave suggested and while you are at it install Unicode::Japanese. If you are building the database and you aren't stuck with euc, then i would make the db use unicode. Then you just use Unicode::Japanese to convert it to whatever you want as you pull it out. I usually use Text::Template, Unicode::Japanese and Lingua::JA::Mail to do what i think you are trying to do.... I pull any data i need out of the db, chop it up if i need to,all regexes dealing with japanese are kept in utf8, pass everything you need to Text::Template,(make sure your template is utf8 too), then just pass the output from Text::Template to Unicode::Japanese to convert it to whatever you need, and if it is mail then give it to Lingua::JA::Mail. Patrick
- References:
- Re: [tlug] perl, cgi, and moji-baki
- From: David E
- RE: [tlug] perl, cgi, and moji-baki-SOLVED
- From: Erin D. Hughes
Home | Main Index | Thread Index
- Prev by Date: RE: [tlug] sort
- Next by Date: [tlug] cron and lftp problems
- Previous by thread: RE: [tlug] perl, cgi, and moji-baki-SOLVED
- Next by thread: [tlug] sort
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links