9fans archive / 1998 / 10 / 42 /    prev next

From: arisawa@ar.aichi-u.ac.jp arisawa@ar.aichi-u.ac.jp
Subject: [9fans] dealing with JIS encoded mail by upas
Date: Fri, 9 Oct 1998 23:35:49 -0400 (EDT)

>A serious bug has been found in libtcs for outputting  
>JIS(iso-2022-jp)
>encoded text when using with MIME mail.  In the original program
>in jisjis_ou() function of conv_jis.c, a controle charcter set of
>"ESC(H" will be sent to indicate the end of JIS coded string.
>This doesn't work for MIME encoding, and this controle string
>should be replaced by "ESC(B".  I don't know why...

Using "ESC(H" at the end of JIS is not a bug.
We have four types of JIS delimiter:
1. { ESC$@, ESC(H }	Old JIS
2. { ESC$B, ESC(J }	New JIS (JIS83)
3. { ESC$@, ESC(J }	I don't know where this type is used
4. { ESC$B, ESC(B }	commonly used in mail and net news

JIS83 is used in official Japanese documents and also
in communicating with legacy machines.

The last type is de-fact standard in Internet society.

Kenji Arisawa
E-mail: arisawa@aic...