ruby/enc/trans/windows-1250-tbl.rb

126 строки
1.9 KiB
Ruby

WINDOWS_1250_TO_UCS_TBL = [
["A0",0xA0],
["A4",0xA4],
["A6",0xA6],
["A7",0xA7],
["A8",0xA8],
["A9",0xA9],
["AB",0xAB],
["AC",0xAC],
["AD",0xAD],
["AE",0xAE],
["B0",0xB0],
["B1",0xB1],
["B4",0xB4],
["B5",0xB5],
["B6",0xB6],
["B7",0xB7],
["B8",0xB8],
["BB",0xBB],
["C1",0xC1],
["C2",0xC2],
["C4",0xC4],
["C7",0xC7],
["C9",0xC9],
["CB",0xCB],
["CD",0xCD],
["CE",0xCE],
["D3",0xD3],
["D4",0xD4],
["D6",0xD6],
["D7",0xD7],
["DA",0xDA],
["DC",0xDC],
["DD",0xDD],
["DF",0xDF],
["E1",0xE1],
["E2",0xE2],
["E4",0xE4],
["E7",0xE7],
["E9",0xE9],
["EB",0xEB],
["ED",0xED],
["EE",0xEE],
["F3",0xF3],
["F4",0xF4],
["F6",0xF6],
["F7",0xF7],
["FA",0xFA],
["FC",0xFC],
["FD",0xFD],
["C3",0x102],
["E3",0x103],
["A5",0x104],
["B9",0x105],
["C6",0x106],
["E6",0x107],
["C8",0x10C],
["E8",0x10D],
["CF",0x10E],
["EF",0x10F],
["D0",0x110],
["F0",0x111],
["CA",0x118],
["EA",0x119],
["CC",0x11A],
["EC",0x11B],
["C5",0x139],
["E5",0x13A],
["BC",0x13D],
["BE",0x13E],
["A3",0x141],
["B3",0x142],
["D1",0x143],
["F1",0x144],
["D2",0x147],
["F2",0x148],
["D5",0x150],
["F5",0x151],
["C0",0x154],
["E0",0x155],
["D8",0x158],
["F8",0x159],
["8C",0x15A],
["9C",0x15B],
["AA",0x15E],
["BA",0x15F],
["8A",0x160],
["9A",0x161],
["DE",0x162],
["FE",0x163],
["8D",0x164],
["9D",0x165],
["D9",0x16E],
["F9",0x16F],
["DB",0x170],
["FB",0x171],
["8F",0x179],
["9F",0x17A],
["AF",0x17B],
["BF",0x17C],
["8E",0x17D],
["9E",0x17E],
["A1",0x2C7],
["A2",0x2D8],
["FF",0x2D9],
["B2",0x2DB],
["BD",0x2DD],
["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],
["80",0x20AC],
["99",0x2122],
]