mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update windows-1255 table
* enc/trans/windows-1255-tbl.rb: update mapping from 0xCA to U+05BA. [Feature #12877] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4f7a051eee
commit
b24e093296
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Sat Oct 29 00:14:30 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/trans/windows-1255-tbl.rb: update mapping from 0xCA to
|
||||
U+05BA. [Feature #12877]
|
||||
|
||||
Fri Oct 28 23:22:32 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/depend: extract transcode_tblgen method calls for libraries
|
||||
|
|
|
@ -43,6 +43,7 @@ WINDOWS_1255_TO_UCS_TBL = [
|
|||
["C7",0x5B7],
|
||||
["C8",0x5B8],
|
||||
["C9",0x5B9],
|
||||
["CA",0x5BA],
|
||||
["CB",0x5BB],
|
||||
["CC",0x5BC],
|
||||
["CD",0x5BD],
|
||||
|
@ -138,4 +139,4 @@ WINDOWS_1255_TO_UCS_TBL = [
|
|||
["E1CF",0xFB4C],
|
||||
["EBCF",0xFB4D],
|
||||
["F4CF",0xFB4E],
|
||||
]
|
||||
]
|
||||
|
|
|
@ -363,7 +363,7 @@ class TestTranscode < Test::Unit::TestCase
|
|||
check_both_ways("\u00BF", "\xBF", 'windows-1255') # ¿
|
||||
check_both_ways("\u05B0", "\xC0", 'windows-1255') # ְ
|
||||
check_both_ways("\u05B9", "\xC9", 'windows-1255') # ֹ
|
||||
assert_raise(Encoding::UndefinedConversionError) { "\xCA".encode("utf-8", 'windows-1255') }
|
||||
check_both_ways("\u05BA", "\xCA", 'windows-1255') # ֺ
|
||||
check_both_ways("\u05BB", "\xCB", 'windows-1255') # ֻ
|
||||
check_both_ways("\u05BF", "\xCF", 'windows-1255') # ֿ
|
||||
check_both_ways("\u05C0", "\xD0", 'windows-1255') # ׀
|
||||
|
|
Loading…
Reference in a new issue