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

129 строки
2.0 KiB
Ruby

WINDOWS_1251_TO_UCS_TBL = [
["A0",0xA0],
["A4",0xA4],
["A6",0xA6],
["A7",0xA7],
["A9",0xA9],
["AB",0xAB],
["AC",0xAC],
["AD",0xAD],
["AE",0xAE],
["B0",0xB0],
["B1",0xB1],
["B5",0xB5],
["B6",0xB6],
["B7",0xB7],
["BB",0xBB],
["A8",0x401],
["80",0x402],
["81",0x403],
["AA",0x404],
["BD",0x405],
["B2",0x406],
["AF",0x407],
["A3",0x408],
["8A",0x409],
["8C",0x40A],
["8E",0x40B],
["8D",0x40C],
["A1",0x40E],
["8F",0x40F],
["C0",0x410],
["C1",0x411],
["C2",0x412],
["C3",0x413],
["C4",0x414],
["C5",0x415],
["C6",0x416],
["C7",0x417],
["C8",0x418],
["C9",0x419],
["CA",0x41A],
["CB",0x41B],
["CC",0x41C],
["CD",0x41D],
["CE",0x41E],
["CF",0x41F],
["D0",0x420],
["D1",0x421],
["D2",0x422],
["D3",0x423],
["D4",0x424],
["D5",0x425],
["D6",0x426],
["D7",0x427],
["D8",0x428],
["D9",0x429],
["DA",0x42A],
["DB",0x42B],
["DC",0x42C],
["DD",0x42D],
["DE",0x42E],
["DF",0x42F],
["E0",0x430],
["E1",0x431],
["E2",0x432],
["E3",0x433],
["E4",0x434],
["E5",0x435],
["E6",0x436],
["E7",0x437],
["E8",0x438],
["E9",0x439],
["EA",0x43A],
["EB",0x43B],
["EC",0x43C],
["ED",0x43D],
["EE",0x43E],
["EF",0x43F],
["F0",0x440],
["F1",0x441],
["F2",0x442],
["F3",0x443],
["F4",0x444],
["F5",0x445],
["F6",0x446],
["F7",0x447],
["F8",0x448],
["F9",0x449],
["FA",0x44A],
["FB",0x44B],
["FC",0x44C],
["FD",0x44D],
["FE",0x44E],
["FF",0x44F],
["B8",0x451],
["90",0x452],
["83",0x453],
["BA",0x454],
["BE",0x455],
["B3",0x456],
["BF",0x457],
["BC",0x458],
["9A",0x459],
["9C",0x45A],
["9E",0x45B],
["9D",0x45C],
["A2",0x45E],
["9F",0x45F],
["A5",0x490],
["B4",0x491],
["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],
["88",0x20AC],
["B9",0x2116],
["99",0x2122],
]