CharToByteEUC_JP.java instead of CharToByteEUC_JP.ser

Ito Kazumitsu kaffe@rufus.w3.org
Mon, 30 Oct 2000 09:02:06 +0900


In message "Re: CharToByteEUC_JP.java instead of CharToByteEUC_JP.ser"
    on 00/10/30, Ito Kazumitsu <kaz@maczuka.gcd.org> writes:

> Please refer to
> http://www.unicode.org/Public/MAPPINGS/EASTASIA/JIS/
> 
> Comments in *.TXT tell how to convert JIS to EUC.
> But those comments do not tell why 0x8e must be
> inserted before JIS 0201 (Katakana) and JIS 0212
> characters.

In EUC-JP, before JIS 0212 characters must be inserted not 0x8e but 0x8f.
See
  http://cns-web.bu.edu/pub/djohnson/web_files/i18n/euc.html 
  http://www.watersprings.org/links/inet/i18n/charset-tab.html

Current CharToByteEUC_JP.java in
http://www.maczuka.gcd.org/programs/CharToByteEUC_JP.tar.gz
incorrectly inserts 0x8e before JIS 0212 characters.