Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Japanese in Perl on Linux



On Wed, 12 May 2004 14:13:32 +0900
Blomberg David <dblomber@example.com> wrote:

> 2004/05/12 ($Bl2%((B) 11:58 $Bea%)(B Brett Robson $BeaJe#sea%Ck{%/ea:e"@example.com"!(B: 
> > Just make sure you have this header present:
> > 
> > Content-Type: text/plain; charset="ISO-2022-JP"
> > 
> To: dblomber@example.com
> Content-Type: text/plain; charset="iso-2022-jp"
> Subject: ???????????????????????????? Quota and Password warnings sent
> Message-Id: <20040512221130.E73F63803A@example.com>
> Date: Wed, 12 May 2004 13:11:30 -0900 (GMT+9)
> Return-Path: <>
> X-OriginalArrivalTime: 12 May 2004 04:13:06.0314 (UTC)
>         FILETIME=[6D389EA0:01C437D7]
> X-Evolution-Source: exchange://dblomber@example.com/
> Mime-Version: 1.0
> 
> ??===========BAD PASSWORD SET INFO====?????????==========
> 
> 
> Okay something is still not quite there above is the received email
> source code snip The question marks are all Japanese.  I also did :
> Content-Type: text/plain; charset="EUC-JP" but it still came out the
> same.  
> 

You haven't converted the body text into ISO-2022-JP. It is probably
EUC-JP or SJIS. You need to pass it through nkf or jconv or similar.



Brett

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links