ruby-changes:4005
From: ko1@a...
Date: Sat, 16 Feb 2008 05:56:23 +0900 (JST)
Subject: [ruby-changes:4005] naruse - Ruby:r15495 (trunk): * enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
naruse 2008-02-16 05:55:27 +0900 (Sat, 16 Feb 2008)
New Revision: 15495
Modified files:
trunk/ChangeLog
trunk/enc/iso_8859_13.c
trunk/enc/iso_8859_4.c
Log:
* enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enc/iso_8859_13.c?r1=15495&r2=15494&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15495&r2=15494&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/enc/iso_8859_4.c?r1=15495&r2=15494&diff_format=u
Index: ChangeLog
===================================================================
--- ChangeLog (revision 15494)
+++ ChangeLog (revision 15495)
@@ -1,5 +1,7 @@
-Fri Feb 15 18:44:05 2008 NARUSE, Yui <naruse@r...>
+Sat Feb 16 05:49:54 2008 NARUSE, Yui <naruse@r...>
+ * enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
+
* string.c (single_byte_optimizable): rb_enc_mbminlen must be 1
when rb_enc_mbmaxlen is 1.
Index: enc/iso_8859_13.c
===================================================================
--- enc/iso_8859_13.c (revision 15494)
+++ enc/iso_8859_13.c (revision 15495)
@@ -231,3 +231,12 @@
onigenc_always_true_is_allowed_reverse_match
};
ENC_ALIAS("ISO8859-13", "ISO-8859-13");
+
+/*
+ * Name: windows-1257
+ * MIBenum: 2257
+ * http://www.microsoft.com/globaldev/reference/sbcs/1257.mspx
+ * http://en.wikipedia.org/wiki/Windows-1257
+ */
+ENC_REPLICATE("Windows-1257", "ISO-8859-13");
+ENC_ALIAS("CP1257", "Windows-1257");
Index: enc/iso_8859_4.c
===================================================================
--- enc/iso_8859_4.c (revision 15494)
+++ enc/iso_8859_4.c (revision 15495)
@@ -240,5 +240,3 @@
onigenc_always_true_is_allowed_reverse_match
};
ENC_ALIAS("ISO8859-4", "ISO-8859-4");
-ENC_REPLICATE("Windows-1257", "ISO-8859-4");
-ENC_ALIAS("CP1257", "Windows-1257");
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/