Subject: Re: Japanese documents needed for testing
To: None <bjy@mogua.org>
From: Masao Uebayashi <uebayasi@soum.co.jp>
List: tech-kern
Date: 02/09/2001 12:46:53
----Next_Part(Fri_Feb__9_12:46:50_2001_997)--
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

---
Masao Uebayashi <uebayasi@soum.co.jp>


----Next_Part(Fri_Feb__9_12:46:50_2001_997)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="japanese.txt.iso-2022-jp"

NetBSDプロジェクトへよう瘢雹こそ
``もちろんNetBSDです。''
----Next_Part(Fri_Feb__9_12:46:50_2001_997)--
Content-Type: Text/Plain; charset=unknown
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="japanese.txt.utf-8"

TmV0QlNEkuXjks7lkqavkuXikqWvkuXikqWhkuXikqXDkuXjkrDlkqK6kuXikrDlkqHmkuXhksbl
kqH9DQpgYJLl4pKk5ZKio5Ll4pK65ZKj805ldEJTRJLl4ZKloZLl4ZLS5ZKf4icn

----Next_Part(Fri_Feb__9_12:46:50_2001_997)----