ruby-changes:3396
From: ko1@a...
Date: 5 Jan 2008 11:51:53 +0900
Subject: [ruby-changes:3396] akr - Ruby:r14889 (trunk): * encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
akr 2008-01-05 11:51:24 +0900 (Sat, 05 Jan 2008)
New Revision: 14889
Modified files:
trunk/ChangeLog
trunk/encoding.c
Log:
* encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
IE6 accepts csWindows31J but Windows-31J.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=14889&r2=14888&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=14889&r2=14888&diff_format=u
Index: encoding.c
===================================================================
--- encoding.c (revision 14888)
+++ encoding.c (revision 14889)
@@ -1010,6 +1010,7 @@
rb_enc_replicate("Windows-31J", rb_enc_from_index(ENCINDEX_SJIS));
rb_enc_alias("CP932", "Windows-31J");
+ rb_enc_alias("csWindows31J", "Windows-31J"); /* IANA. IE6 accepts csWindows31J but Windows-31J. */
for (i = 0; i < enc_table_size; ++i) {
rb_encoding *enc = enc_table[i].enc;
Index: ChangeLog
===================================================================
--- ChangeLog (revision 14888)
+++ ChangeLog (revision 14889)
@@ -1,3 +1,8 @@
+Sat Jan 5 11:48:19 2008 Tanaka Akira <akr@f...>
+
+ * encoding.c (Init_Encoding): alias csWindows31J to Windows-31J.
+ IE6 accepts csWindows31J but Windows-31J.
+
Sat Jan 5 02:21:10 2008 Tanaka Akira <akr@f...>
* include/ruby/ruby.h (rb_intern): memorize interned ID for constant
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml