summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorLars Kanis <lars@greiz-reinsdorf.de>2020-11-22 14:23:40 +0100
committerGitHub <noreply@github.com>2020-11-22 22:23:40 +0900
commitd403591b34e204a5937241025c62c877e579fbaf (patch)
tree2ba3966f5c792f74ed0f7873ea8f1def8efa63f3 /ext
parent2d112c346a7a1369af1236928538a3b3a833f781 (diff)
Add string encoding IBM720 alias CP720 (#3803)
The mapping table is generated from the ICU project: https://github.com/unicode-org/icu/blob/master/icu4c/source/data/mappings/ibm-720_P100-1997.ucm Fixes bug 16233 : https://bugs.ruby-lang.org/issues/16233
Notes
Notes: Merged-By: nurse <naruse@airemix.jp>
Diffstat (limited to 'ext')
-rw-r--r--ext/win32ole/win32ole.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index 4f4550c..59bae0e 100644
--- a/ext/win32ole/win32ole.c
+++ b/ext/win32ole/win32ole.c
@@ -507,6 +507,7 @@ static UINT ole_encoding2cp(rb_encoding *enc)
ENC_MACHING_CP(enc, "GB2312", 20936);
ENC_MACHING_CP(enc, "GBK", 936);
ENC_MACHING_CP(enc, "IBM437", 437);
+ ENC_MACHING_CP(enc, "IBM720", 720);
ENC_MACHING_CP(enc, "IBM737", 737);
ENC_MACHING_CP(enc, "IBM775", 775);
ENC_MACHING_CP(enc, "IBM852", 852);