зеркало из https://github.com/github/ruby.git
* enc/iso_8859_{4,13}.c: Windows-1257 is replica of ISO-8859-13.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
fc46d89b6d
Коммит
a2d85d61bd
|
@ -1,4 +1,6 @@
|
||||||
Fri Feb 15 18:44:05 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
Sat Feb 16 05:49:54 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* 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
|
* string.c (single_byte_optimizable): rb_enc_mbminlen must be 1
|
||||||
when rb_enc_mbmaxlen is 1.
|
when rb_enc_mbmaxlen is 1.
|
||||||
|
|
|
@ -231,3 +231,12 @@ OnigEncodingDefine(iso_8859_13, ISO_8859_13) = {
|
||||||
onigenc_always_true_is_allowed_reverse_match
|
onigenc_always_true_is_allowed_reverse_match
|
||||||
};
|
};
|
||||||
ENC_ALIAS("ISO8859-13", "ISO-8859-13");
|
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");
|
||||||
|
|
|
@ -240,5 +240,3 @@ OnigEncodingDefine(iso_8859_4, ISO_8859_4) = {
|
||||||
onigenc_always_true_is_allowed_reverse_match
|
onigenc_always_true_is_allowed_reverse_match
|
||||||
};
|
};
|
||||||
ENC_ALIAS("ISO8859-4", "ISO-8859-4");
|
ENC_ALIAS("ISO8859-4", "ISO-8859-4");
|
||||||
ENC_REPLICATE("Windows-1257", "ISO-8859-4");
|
|
||||||
ENC_ALIAS("CP1257", "Windows-1257");
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче