1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* encoding.c (rb_locale_encoding): return US-ASCII when charmap is nil.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-01-14 09:08:45 +00:00
parent d407e2fac8
commit 0605d15f6a
4 changed files with 12 additions and 4 deletions

View file

@ -138,5 +138,7 @@ OnigEncodingDefine(euc_kr, EUC_KR) = {
euckr_left_adjust_char_head,
euckr_is_allowed_reverse_match
};
ENC_ALIAS("eucKR", "EUC-KR");
ENC_REPLICATE("EUC-CN", "EUC-KR");
ENC_ALIAS("eucCN", "EUC-CN");
ENC_REPLICATE("CP949", "EUC-KR");