1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc/trans/windows-1255-tbl.rb
duerst b014f1bc02 * enc/trans/single_byte.trans: adding WINDOWS-wwww encodings
(wwww = 874/1250/1251/1253/1254/1255/1256/1257)
  (contributed by Yoshihiro Kambayashi)

* enc/trans/windows-wwww-tbl.rb: 8 new files
  (contributed by Yoshihiro Kambayashi)

* test/ruby/test_transcode.rb: added test_windows_wwww
  (contributed by Yoshihiro Kambayashi)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-19 09:15:37 +00:00

141 lines
No EOL
2.3 KiB
Ruby

WINDOWS_1255_TO_UCS_TBL = [
["A0",0xA0],
["A1",0xA1],
["A2",0xA2],
["A3",0xA3],
["A5",0xA5],
["A6",0xA6],
["A7",0xA7],
["A8",0xA8],
["A9",0xA9],
["AB",0xAB],
["AC",0xAC],
["AD",0xAD],
["AE",0xAE],
["AF",0xAF],
["B0",0xB0],
["B1",0xB1],
["B2",0xB2],
["B3",0xB3],
["B4",0xB4],
["B5",0xB5],
["B6",0xB6],
["B7",0xB7],
["B8",0xB8],
["B9",0xB9],
["BB",0xBB],
["BC",0xBC],
["BD",0xBD],
["BE",0xBE],
["BF",0xBF],
["AA",0xD7],
["BA",0xF7],
["83",0x192],
["88",0x2C6],
["98",0x2DC],
["C0",0x5B0],
["C1",0x5B1],
["C2",0x5B2],
["C3",0x5B3],
["C4",0x5B4],
["C5",0x5B5],
["C6",0x5B6],
["C7",0x5B7],
["C8",0x5B8],
["C9",0x5B9],
["CB",0x5BB],
["CC",0x5BC],
["CD",0x5BD],
["CE",0x5BE],
["CF",0x5BF],
["D0",0x5C0],
["D1",0x5C1],
["D2",0x5C2],
["D3",0x5C3],
["E0",0x5D0],
["E1",0x5D1],
["E2",0x5D2],
["E3",0x5D3],
["E4",0x5D4],
["E5",0x5D5],
["E6",0x5D6],
["E7",0x5D7],
["E8",0x5D8],
["E9",0x5D9],
["EA",0x5DA],
["EB",0x5DB],
["EC",0x5DC],
["ED",0x5DD],
["EE",0x5DE],
["EF",0x5DF],
["F0",0x5E0],
["F1",0x5E1],
["F2",0x5E2],
["F3",0x5E3],
["F4",0x5E4],
["F5",0x5E5],
["F6",0x5E6],
["F7",0x5E7],
["F8",0x5E8],
["F9",0x5E9],
["FA",0x5EA],
["D4",0x5F0],
["D5",0x5F1],
["D6",0x5F2],
["D7",0x5F3],
["D8",0x5F4],
["FD",0x200E],
["FE",0x200F],
["96",0x2013],
["97",0x2014],
["91",0x2018],
["92",0x2019],
["82",0x201A],
["93",0x201C],
["94",0x201D],
["84",0x201E],
["86",0x2020],
["87",0x2021],
["95",0x2022],
["85",0x2026],
["89",0x2030],
["8B",0x2039],
["9B",0x203A],
["A4",0x20AA],
["80",0x20AC],
["99",0x2122],
["E9C4",0xFB1D],
["D6C7",0xFB1F],
["F9D1",0xFB2A],
["F9D2",0xFB2B],
["F9CCD1",0xFB2C],
["F9CCD2",0xFB2D],
["E0C7",0xFB2E],
["E0C8",0xFB2F],
["E0CC",0xFB30],
["E1CC",0xFB31],
["E2CC",0xFB32],
["E3CC",0xFB33],
["E4CC",0xFB34],
["E5CC",0xFB35],
["E6CC",0xFB36],
["E8CC",0xFB38],
["E9CC",0xFB39],
["EACC",0xFB3A],
["EBCC",0xFB3B],
["ECCC",0xFB3C],
["EECC",0xFB3E],
["F0CC",0xFB40],
["F1CC",0xFB41],
["F3CC",0xFB43],
["F4CC",0xFB44],
["F6CC",0xFB46],
["F7CC",0xFB47],
["F8CC",0xFB48],
["F9CC",0xFB49],
["FACC",0xFB4A],
["E5C9",0xFB4B],
["E1CF",0xFB4C],
["EBCF",0xFB4D],
["F4CF",0xFB4E],
]