diff options
author | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-30 08:25:46 +0000 |
---|---|---|
committer | duerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-30 08:25:46 +0000 |
commit | 87b937bdfd017ed710d1b547ef42b2a0c7e92592 (patch) | |
tree | e94b3f175dfd8284d32619dfb546898c0eb53d92 /enc/unicode.c | |
parent | 22c0994bc8b34e4b8b80de3259363b0f27c24988 (diff) |
fix uppercasing for U+A64B, CYRILLIC SMALL LETTER MONOGRAPH UK
* enc/unicode.c: Add U+A64B to the special cases 03B9 and 03BC
at the end of onigenc_unicode_case_map (Bug #12990).
* enc/unicode/case-folding.rb: Add U+A64B to the special cases
03B9 and 03BC. Add a comment pointing to enc/unicode.c.
Change warnings to exceptions for unpredicted cases,
because this would have been more easily noticed
(the warning was not noticed when upgrading to Unicode 9.0.0).
* test/ruby/enc/test_case_comprehensive.rb: Remove temporary
exclusion of U+A64B from testing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/unicode.c')
-rw-r--r-- | enc/unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/unicode.c b/enc/unicode.c index e72b2e64b2..cf77492781 100644 --- a/enc/unicode.c +++ b/enc/unicode.c @@ -777,8 +777,8 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP, code = folded->code[0]; } else if ((flags&(ONIGENC_CASE_UPCASE)) - && (code==0x03B9||code==0x03BC)) { /* GREEK SMALL LETTERs IOTA/MU */ - MODIFIED; + && (code==0x03B9||code==0x03BC||code==0xA64B)) { /* GREEK SMALL LETTERs IOTA/MU, */ + MODIFIED; /* CYRILLIC SMALL LETTER MONOGRAPH UK */ code = folded->code[1]; } } |