Thanks (and arigatou gozaimashita) to all who responded to my question. (As
I only get the digest, though, I may not have seen all the responses yet.)

Anyway, Josh was right: each saved email contains a "styl" resource that
ensures the Japanese text displays correctly in SimpleText. If I copy one of
these resources into my archive file, the text appears to display correctly.
However, SimpleText can't open large files, so eventually I'll need to go
beyond that. I'll look into Nobumi's "jcode" suggestion as well as any
others and report back in a week or two.

on 3/18/03 5:09 AM, Nobumi Iyanaga at [EMAIL PROTECTED] wrote:

> Hello Jon,
> 
> Japanese emails use generally the encoding called iso-2022-jp (or "jis"
> code) to transfer text through the Internet, while Mac OS (classic)
> uses Shift-JIS encoding to display Japanese.  So, you will have to
> convert your email text from iso-2022-jp to Shift-JIS.  There is a
> Japanese code converter script named "jcode.pl", that you can get from:
> <ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/>
> 
> A sample code:
> require "jcode.pl";
> 
> while (defined($line = <>)) {
> $res = &jcode::sjis($line);
> print $res;
> }
> 
> I have not tested this code, so I am not sure it it will work, but you
> will have some idea at least...
> 
> Best regards,
> 
> Nobumi Iyanaga
> Tokyo,
> Japan

Reply via email to