> I have spent some time reading up on the JIS X 0213 character set
> (CCS) and how the encodings have been changed to accommodate it. It
> appears Unicode is not yet completely able to represent all the JIS
> characters, for some more than one Unicode character is required.
> And new versions of SJIS and EUC encoding schemes seem to be
> available.
I don't have time currently to check this further.
> What I found interesting is that in EUC the JIS X 0201 katakana are
> supported!
Well, EUC is a special version of the ISO 2022 encoding. EUC-JP is
defined in various RFC standards and has a MIME tag, so it's not
possible that JIS X 0213 replaces this; instead, it can only define a
new EUC for Japanese.
And indeed, the standard EUC-JP contains support for half-width
katakana using a single-shift escape -- and CJK has implemented this
since years (you have to use `EUC-JP' instead of `JIS' as the encoding
of the CJK environment), and Emacs supports it too! From EUC-JP.enc:
Half-width katakana (C49) 0x8EA1-0x8EDF
JIS X 0212-1992 (C5x) 0x8FA1A1-0x8FFEFE
JIS X 0208:1997 (C4x) 0xA1A1-0xFEFE
0x8E and 0xEF are SS1 and SS2, the single shift escape characters.
> Although no standard was ever laid down that these should be
> half-width, de facto they are.
Look at the canonical Unicode mappings (in JIS0201.TXT) and you can
see that they *are* half-width characters.
> Thus I am wondering why it is that I often hear that EUC-JP does not
> encode these characters?
People are saying `EUC' (for Japanese) when they mean the JIS X 0208
character set mapped to the G1 slot (in ISO 2022 speaking, this is
0x8181-0xFEFE -- I call this a `simplified EUC' in CJK.txt); however,
EUC-JP is an *encoding* which actually uses 3 character sets: the left
part of JIS X 0201 (which is approximately ASCII), the right part of
JIS X 0201 (half-width katakana), JIS X 0208, and JIS X 0212.
> I'd be happy to make a virtual font for these if needed to support
> it under CJK.
As mentioned above, EUC-JP is already supported.
Werner
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk