summaryrefslogtreecommitdiff
path: root/enc/iso_8859_1.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-13 14:29:12 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-13 14:29:12 +0000
commit21671b558cfd8d90647f40a8594fd9e6db038768 (patch)
tree5204ff9fd0eb5569165d17423523fa36ca63c267 /enc/iso_8859_1.c
parent62c596cb36af5471e65a4774dfe70047055f58b7 (diff)
* enc/make_encdb.h: sort encoding names by original name.
* encoding.c, enc/*.c: define replicas and aliases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/iso_8859_1.c')
-rw-r--r--enc/iso_8859_1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/enc/iso_8859_1.c b/enc/iso_8859_1.c
index 0c85c8befb..10c68f5300 100644
--- a/enc/iso_8859_1.c
+++ b/enc/iso_8859_1.c
@@ -272,3 +272,6 @@ OnigEncodingDefine(iso_8859_1, ISO_8859_1) = {
onigenc_single_byte_left_adjust_char_head,
onigenc_always_true_is_allowed_reverse_match
};
+ENC_ALIAS("ISO8859-1", "ISO-8859-1");
+ENC_REPLICATE("Windows-1252", "ISO-8859-1");
+ENC_ALIAS("CP1252", "Windows-1252");