summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-15 20:55:27 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-15 20:55:27 +0000
commita2d85d61bdad79c89b0281dc3ad2e9afc3ae1c6b (patch)
tree3732eb1be42a195d3964ceb3593049e24d6214d3 /enc
parentfc46d89b6d7a8e8859741a0120b9b4621dfb9de6 (diff)
* 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
Diffstat (limited to 'enc')
-rw-r--r--enc/iso_8859_13.c9
-rw-r--r--enc/iso_8859_4.c2
2 files changed, 9 insertions, 2 deletions
diff --git a/enc/iso_8859_13.c b/enc/iso_8859_13.c
index cbb79d9337..b821dadb53 100644
--- a/enc/iso_8859_13.c
+++ b/enc/iso_8859_13.c
@@ -231,3 +231,12 @@ OnigEncodingDefine(iso_8859_13, ISO_8859_13) = {
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");
diff --git a/enc/iso_8859_4.c b/enc/iso_8859_4.c
index f548ed581d..9c034b0409 100644
--- a/enc/iso_8859_4.c
+++ b/enc/iso_8859_4.c
@@ -240,5 +240,3 @@ OnigEncodingDefine(iso_8859_4, ISO_8859_4) = {
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");