perl-unicode

Fwd: Better names for JIS X 0201/0208/0212? (was: ISO-8859-1 vs ISO 8859-1 (typo + UTF8 case too :)

2002-03-24 01:57:50
Hello, experts! I'm sorry if you receive this message for a second
time - I am not sure if it reached perl-unicode(_at_)perl(_dot_)org at my
previous attempt.


-----------

I certainly think that the names like 'JIS 0201'
are embarrassing.

Here's rfc1345

  &charset JIS_X0201
  &alias X0201
  ...8-bit, JIS-Roman (0xA1-0x7E) + JIS-Katakana (0xA1-0xFE)

  &charset JIS_C6226-1983
  &alias iso-ir-87
  &bits 16
  &alias x0208
  &alias JIS_X0208-1983

  &charset JIS_X0212-1990
  &alias x0212
  &alias iso-ir-159
  &bits 16

here's IANA registry

  Name: JIS_X0201                                  [RFC1345,KXS2]
  MIBenum: 15
  Source: JIS X 0201-1976.   One byte only, this is equivalent to
          JIS/Roman (similar to ASCII) plus eight-bit half-width
          Katakana
  Alias: X0201

  Name: JIS_C6226-1983                             [RFC1345,KXS2]
  Alias: iso-ir-87
  Alias: x0208
  Alias: JIS_X0208-1983

  Name: JIS_X0212-1990                             [RFC1345,KXS2]
  MIBenum: 98
  Alias: x0212
  Alias: iso-ir-159
  

Are

  JIS_X0201      / X0201 /
  JIS_C6226-1983 / X0208 /
  JIS_X0212      / X0212

better candidates?

- Anton

P.S. I have also seen JIS_X0201 referred to as

  JIS X 0201-1976
  JIS X 0201 Katakana/JIS X 0201 Roman
  JISX0201.

P.P.S. (currently
JIS 0201/JIS 0208/JIS 0212 do not seem to work for me:

perl15173 -MEncode -MEncode::JP -we "print Encode::decode('JIS 0210','aaa')"

gives me Unknown encoding 'JIS 210' at -e line 1, only
Encode::encode('JIS0201','aaa') behaves okay..

and if they are not working, we're free to change the names for anything
we like ;-)


- Best regards, Anton


<Prev in Thread] Current Thread [Next in Thread>
  • Fwd: Better names for JIS X 0201/0208/0212? (was: ISO-8859-1 vs ISO 8859-1 (typo + UTF8 case too :), Anton Tagunov <=