* enc/trans/single_byte.trans, macgreek-tbl.rb, macroman-tbl.rb,
macromania-tbl.rb, macturkish-tbl.rb, macukraine-tbl.rb,
ibm437-tbl.rb, ibm852-tbl.rb, ibm855-tbl.rb, ibm857-tbl.rb,
ibm860-tbl.rb, ibm861-tbl.rb, ibm862-tbl.rb, ibm863-tbl.rb,
ibm865-tbl.rb, ibm866-tbl.rb, ibm869-tbl.rb, ibm775-tbl.rb:
new single-byte transcodings (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayashi)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 08:26:20 +03:00
|
|
|
IBM862_TO_UCS_TBL = [
|
|
|
|
["FF",0xA0],
|
|
|
|
["AD",0xA1],
|
|
|
|
["9B",0xA2],
|
|
|
|
["9C",0xA3],
|
|
|
|
["9D",0xA5],
|
|
|
|
["A6",0xAA],
|
|
|
|
["AE",0xAB],
|
|
|
|
["AA",0xAC],
|
|
|
|
["F8",0xB0],
|
|
|
|
["F1",0xB1],
|
|
|
|
["FD",0xB2],
|
|
|
|
["E6",0xB5],
|
|
|
|
["FA",0xB7],
|
|
|
|
["A7",0xBA],
|
|
|
|
["AF",0xBB],
|
|
|
|
["AC",0xBC],
|
|
|
|
["AB",0xBD],
|
|
|
|
["A8",0xBF],
|
|
|
|
["A5",0xD1],
|
|
|
|
["E1",0xDF],
|
|
|
|
["A0",0xE1],
|
|
|
|
["A1",0xED],
|
|
|
|
["A4",0xF1],
|
|
|
|
["A2",0xF3],
|
|
|
|
["F6",0xF7],
|
|
|
|
["A3",0xFA],
|
|
|
|
["9F",0x192],
|
|
|
|
["E2",0x393],
|
|
|
|
["E9",0x398],
|
|
|
|
["E4",0x3A3],
|
|
|
|
["E8",0x3A6],
|
|
|
|
["EA",0x3A9],
|
|
|
|
["E0",0x3B1],
|
|
|
|
["EB",0x3B4],
|
|
|
|
["EE",0x3B5],
|
|
|
|
["E3",0x3C0],
|
|
|
|
["E5",0x3C3],
|
|
|
|
["E7",0x3C4],
|
|
|
|
["ED",0x3C6],
|
|
|
|
["80",0x5D0],
|
|
|
|
["81",0x5D1],
|
|
|
|
["82",0x5D2],
|
|
|
|
["83",0x5D3],
|
|
|
|
["84",0x5D4],
|
|
|
|
["85",0x5D5],
|
|
|
|
["86",0x5D6],
|
|
|
|
["87",0x5D7],
|
|
|
|
["88",0x5D8],
|
|
|
|
["89",0x5D9],
|
|
|
|
["8A",0x5DA],
|
|
|
|
["8B",0x5DB],
|
|
|
|
["8C",0x5DC],
|
|
|
|
["8D",0x5DD],
|
|
|
|
["8E",0x5DE],
|
|
|
|
["8F",0x5DF],
|
|
|
|
["90",0x5E0],
|
|
|
|
["91",0x5E1],
|
|
|
|
["92",0x5E2],
|
|
|
|
["93",0x5E3],
|
|
|
|
["94",0x5E4],
|
|
|
|
["95",0x5E5],
|
|
|
|
["96",0x5E6],
|
|
|
|
["97",0x5E7],
|
|
|
|
["98",0x5E8],
|
|
|
|
["99",0x5E9],
|
|
|
|
["9A",0x5EA],
|
|
|
|
["FC",0x207F],
|
|
|
|
["9E",0x20A7],
|
|
|
|
["F9",0x2219],
|
|
|
|
["FB",0x221A],
|
|
|
|
["EC",0x221E],
|
|
|
|
["EF",0x2229],
|
|
|
|
["F7",0x2248],
|
|
|
|
["F0",0x2261],
|
|
|
|
["F3",0x2264],
|
|
|
|
["F2",0x2265],
|
|
|
|
["A9",0x2310],
|
|
|
|
["F4",0x2320],
|
|
|
|
["F5",0x2321],
|
|
|
|
["C4",0x2500],
|
|
|
|
["B3",0x2502],
|
|
|
|
["DA",0x250C],
|
|
|
|
["BF",0x2510],
|
|
|
|
["C0",0x2514],
|
|
|
|
["D9",0x2518],
|
|
|
|
["C3",0x251C],
|
|
|
|
["B4",0x2524],
|
|
|
|
["C2",0x252C],
|
|
|
|
["C1",0x2534],
|
|
|
|
["C5",0x253C],
|
|
|
|
["CD",0x2550],
|
|
|
|
["BA",0x2551],
|
|
|
|
["D5",0x2552],
|
|
|
|
["D6",0x2553],
|
|
|
|
["C9",0x2554],
|
|
|
|
["B8",0x2555],
|
|
|
|
["B7",0x2556],
|
|
|
|
["BB",0x2557],
|
|
|
|
["D4",0x2558],
|
|
|
|
["D3",0x2559],
|
|
|
|
["C8",0x255A],
|
|
|
|
["BE",0x255B],
|
|
|
|
["BD",0x255C],
|
|
|
|
["BC",0x255D],
|
|
|
|
["C6",0x255E],
|
|
|
|
["C7",0x255F],
|
|
|
|
["CC",0x2560],
|
|
|
|
["B5",0x2561],
|
|
|
|
["B6",0x2562],
|
|
|
|
["B9",0x2563],
|
|
|
|
["D1",0x2564],
|
|
|
|
["D2",0x2565],
|
|
|
|
["CB",0x2566],
|
|
|
|
["CF",0x2567],
|
|
|
|
["D0",0x2568],
|
|
|
|
["CA",0x2569],
|
|
|
|
["D8",0x256A],
|
|
|
|
["D7",0x256B],
|
|
|
|
["CE",0x256C],
|
|
|
|
["DF",0x2580],
|
|
|
|
["DC",0x2584],
|
|
|
|
["DB",0x2588],
|
|
|
|
["DD",0x258C],
|
|
|
|
["DE",0x2590],
|
|
|
|
["B0",0x2591],
|
|
|
|
["B1",0x2592],
|
|
|
|
["B2",0x2593],
|
|
|
|
["FE",0x25A0],
|
2023-01-06 06:11:35 +03:00
|
|
|
]
|