mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a28fdecda7
cp855-tbl.rb, koi8-r-tbl.rb, koi8-u-tbl.rb, tis-620-tbl.rb: new single-byte transcodings (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi), small cosmetic fixes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
89 lines
1.4 KiB
Ruby
89 lines
1.4 KiB
Ruby
TIS_620_TO_UCS_TBL = [
|
|
["A1",0xE01],
|
|
["A2",0xE02],
|
|
["A3",0xE03],
|
|
["A4",0xE04],
|
|
["A5",0xE05],
|
|
["A6",0xE06],
|
|
["A7",0xE07],
|
|
["A8",0xE08],
|
|
["A9",0xE09],
|
|
["AA",0xE0A],
|
|
["AB",0xE0B],
|
|
["AC",0xE0C],
|
|
["AD",0xE0D],
|
|
["AE",0xE0E],
|
|
["AF",0xE0F],
|
|
["B0",0xE10],
|
|
["B1",0xE11],
|
|
["B2",0xE12],
|
|
["B3",0xE13],
|
|
["B4",0xE14],
|
|
["B5",0xE15],
|
|
["B6",0xE16],
|
|
["B7",0xE17],
|
|
["B8",0xE18],
|
|
["B9",0xE19],
|
|
["BA",0xE1A],
|
|
["BB",0xE1B],
|
|
["BC",0xE1C],
|
|
["BD",0xE1D],
|
|
["BE",0xE1E],
|
|
["BF",0xE1F],
|
|
["C0",0xE20],
|
|
["C1",0xE21],
|
|
["C2",0xE22],
|
|
["C3",0xE23],
|
|
["C4",0xE24],
|
|
["C5",0xE25],
|
|
["C6",0xE26],
|
|
["C7",0xE27],
|
|
["C8",0xE28],
|
|
["C9",0xE29],
|
|
["CA",0xE2A],
|
|
["CB",0xE2B],
|
|
["CC",0xE2C],
|
|
["CD",0xE2D],
|
|
["CE",0xE2E],
|
|
["CF",0xE2F],
|
|
["D0",0xE30],
|
|
["D1",0xE31],
|
|
["D2",0xE32],
|
|
["D3",0xE33],
|
|
["D4",0xE34],
|
|
["D5",0xE35],
|
|
["D6",0xE36],
|
|
["D7",0xE37],
|
|
["D8",0xE38],
|
|
["D9",0xE39],
|
|
["DA",0xE3A],
|
|
["DF",0xE3F],
|
|
["E0",0xE40],
|
|
["E1",0xE41],
|
|
["E2",0xE42],
|
|
["E3",0xE43],
|
|
["E4",0xE44],
|
|
["E5",0xE45],
|
|
["E6",0xE46],
|
|
["E7",0xE47],
|
|
["E8",0xE48],
|
|
["E9",0xE49],
|
|
["EA",0xE4A],
|
|
["EB",0xE4B],
|
|
["EC",0xE4C],
|
|
["ED",0xE4D],
|
|
["EE",0xE4E],
|
|
["EF",0xE4F],
|
|
["F0",0xE50],
|
|
["F1",0xE51],
|
|
["F2",0xE52],
|
|
["F3",0xE53],
|
|
["F4",0xE54],
|
|
["F5",0xE55],
|
|
["F6",0xE56],
|
|
["F7",0xE57],
|
|
["F8",0xE58],
|
|
["F9",0xE59],
|
|
["FA",0xE5A],
|
|
["FB",0xE5B],
|
|
]
|