aboutsummaryrefslogtreecommitdiffstats
path: root/enc/shift_jis.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-15 06:52:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-15 06:52:10 +0000
commitff4c13688ec7f4ea212fadf16c6ad7c4d9f5ba11 (patch)
treeb1af2b05b047da1bd91689626f38324d16f6b8e1 /enc/shift_jis.c
parentb6c604d757d67085c5b2cfb7e38ebebfa6d9aa63 (diff)
downloadruby-ff4c13688ec7f4ea212fadf16c6ad7c4d9f5ba11.tar.gz
Add more description about Shift_JIS and CP50220.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/shift_jis.c')
-rw-r--r--enc/shift_jis.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/enc/shift_jis.c b/enc/shift_jis.c
index 9dcacb584d..942e0fb3af 100644
--- a/enc/shift_jis.c
+++ b/enc/shift_jis.c
@@ -381,6 +381,10 @@ OnigEncodingDefine(shift_jis, Shift_JIS) = {
* 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).
*/
/*