ruby-changes:22574
From: naruse <ko1@a...>
Date: Wed, 15 Feb 2012 15:53:52 +0900 (JST)
Subject: [ruby-changes:22574] naruse:r34623 (trunk): Add more description about Shift_JIS and CP50220.
naruse 2012-02-15 15:52:10 +0900 (Wed, 15 Feb 2012) New Revision: 34623 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34623 Log: Add more description about Shift_JIS and CP50220. Modified files: trunk/enc/iso_2022_jp.h trunk/enc/shift_jis.c Index: enc/shift_jis.c =================================================================== --- enc/shift_jis.c (revision 34622) +++ enc/shift_jis.c (revision 34623) @@ -381,6 +381,10 @@ * MIBenum: 17 * Link: http://www.iana.org/assignments/character-sets * Link: http://ja.wikipedia.org/wiki/Shift_JIS + * + * Note that this Shift_JIS's 7bit part is US-ASCII not JIX X 0201 + * because Shift_JIS must be ASCII compatible encoding. + * See also the conversion table (enc/trans/japanese_sjis.trans). */ /* Index: enc/iso_2022_jp.h =================================================================== --- enc/iso_2022_jp.h (revision 34622) +++ enc/iso_2022_jp.h (revision 34623) @@ -5,7 +5,12 @@ ENC_REPLICATE("ISO-2022-JP-2", "ISO-2022-JP"); ENC_ALIAS("ISO2022-JP2", "ISO-2022-JP-2"); -/* Windows Codepage 50220 +/* + * Name: CP50220 + * MIBenum: 2260 + * Link: http://www.iana.org/assignments/charset-reg/CP50220 + * + * Windows Codepage 50220 * a ISO-2022-JP variant. * This includes * * US-ASCII -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/