Subject: Re: Japanese documents needed for testing
To: None <>
From: Masao Uebayashi <>
List: tech-kern
Date: 02/09/2001 12:46:53
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> Now the VGA raster display driver and universal wscons are in the final 
> phase of testing. They are working quite well with Korean text (with a 
> couple of annoying problems, though). For further testing, I need to have 
> some Japanese documents in ISO-2022-JP and UTF-16/8. Could anybody provide 
> me with those?

I appended some.

If you want to create/convert Japanese text yourself, using "Jcode"
module with Perl is easy.

If you want ISO-2022-JP text, do

  % perl -MJcode -e 'my $j=Jcode->new(); while (<>) { print $j->set($_)->jis; }' <japanese.txt >japanese.txt.iso-2022-jp

If UTF-8,

  % perl -MJcode -e 'my $j=Jcode->new(); while (<>) { print $j->set($_)->utf8; }' <japanese.txt >japanese.txt.utf8

No idea for UTF-16.


Masao Uebayashi <>

Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="japanese.txt.iso-2022-jp"

Content-Type: Text/Plain; charset=unknown
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="japanese.txt.utf-8"