Versión sin post-procesado del software del VmRideR
Dependencies: mbed
FatFileSystem/option/ccsbcs.c@0:3d456b8ce449, 2015-06-15 (annotated)
- Committer:
- JuanManuelAmador
- Date:
- Mon Jun 15 15:34:27 2015 +0000
- Revision:
- 0:3d456b8ce449
prueba
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JuanManuelAmador | 0:3d456b8ce449 | 1 | /*------------------------------------------------------------------------*/ |
JuanManuelAmador | 0:3d456b8ce449 | 2 | /* Unicode - Local code bidirectional converter (C)ChaN, 2009 */ |
JuanManuelAmador | 0:3d456b8ce449 | 3 | /* (SBCS code pages) */ |
JuanManuelAmador | 0:3d456b8ce449 | 4 | /*------------------------------------------------------------------------*/ |
JuanManuelAmador | 0:3d456b8ce449 | 5 | /* 437 U.S. (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 6 | / 720 Arabic (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 7 | / 1256 Arabic (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 8 | / 737 Greek (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 9 | / 1253 Greek (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 10 | / 1250 Central Europe (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 11 | / 775 Baltic (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 12 | / 1257 Baltic (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 13 | / 850 Multilingual Latin 1 (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 14 | / 852 Latin 2 (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 15 | / 1252 Latin 1 (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 16 | / 855 Cyrillic (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 17 | / 1251 Cyrillic (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 18 | / 866 Russian (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 19 | / 857 Turkish (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 20 | / 1254 Turkish (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 21 | / 858 Multilingual Latin 1 + Euro (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 22 | / 862 Hebrew (OEM) |
JuanManuelAmador | 0:3d456b8ce449 | 23 | / 1255 Hebrew (Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 24 | / 874 Thai (OEM, Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 25 | / 1258 Vietnam (OEM, Windows) |
JuanManuelAmador | 0:3d456b8ce449 | 26 | */ |
JuanManuelAmador | 0:3d456b8ce449 | 27 | |
JuanManuelAmador | 0:3d456b8ce449 | 28 | #include "../ff.h" |
JuanManuelAmador | 0:3d456b8ce449 | 29 | |
JuanManuelAmador | 0:3d456b8ce449 | 30 | |
JuanManuelAmador | 0:3d456b8ce449 | 31 | #if _CODE_PAGE == 437 |
JuanManuelAmador | 0:3d456b8ce449 | 32 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 33 | static |
JuanManuelAmador | 0:3d456b8ce449 | 34 | const WCHAR Tbl[] = { /* CP437(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 35 | 0x00C7, 0x00FC, 0x00E9, 0x00E2, 0x00E4, 0x00E0, 0x00E5, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 36 | 0x00EA, 0x00EB, 0x00E8, 0x00EF, 0x00EE, 0x00EC, 0x00C4, 0x00C5, |
JuanManuelAmador | 0:3d456b8ce449 | 37 | 0x00C9, 0x00E6, 0x00C6, 0x00F4, 0x00F6, 0x00F2, 0x00FB, 0x00F9, |
JuanManuelAmador | 0:3d456b8ce449 | 38 | 0x00FF, 0x00D6, 0x00DC, 0x00A2, 0x00A3, 0x00A5, 0x20A7, 0x0192, |
JuanManuelAmador | 0:3d456b8ce449 | 39 | 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x00F1, 0x00D1, 0x00AA, 0x00BA, |
JuanManuelAmador | 0:3d456b8ce449 | 40 | 0x00BF, 0x2310, 0x00AC, 0x00BD, 0x00BC, 0x00A1, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 41 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, |
JuanManuelAmador | 0:3d456b8ce449 | 42 | 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 43 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F, |
JuanManuelAmador | 0:3d456b8ce449 | 44 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567, |
JuanManuelAmador | 0:3d456b8ce449 | 45 | 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B, |
JuanManuelAmador | 0:3d456b8ce449 | 46 | 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 47 | 0x03B1, 0x00DF, 0x0393, 0x03C0, 0x03A3, 0x03C3, 0x00B5, 0x03C4, |
JuanManuelAmador | 0:3d456b8ce449 | 48 | 0x03A6, 0x0398, 0x03A9, 0x03B4, 0x221E, 0x03C6, 0x03B5, 0x2229, |
JuanManuelAmador | 0:3d456b8ce449 | 49 | 0x2261, 0x00B1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00F7, 0x2248, |
JuanManuelAmador | 0:3d456b8ce449 | 50 | 0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 51 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 52 | |
JuanManuelAmador | 0:3d456b8ce449 | 53 | #elif _CODE_PAGE == 720 |
JuanManuelAmador | 0:3d456b8ce449 | 54 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 55 | static |
JuanManuelAmador | 0:3d456b8ce449 | 56 | const WCHAR Tbl[] = { /* CP720(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 57 | 0x0000, 0x0000, 0x00E9, 0x00E2, 0x0000, 0x00E0, 0x0000, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 58 | 0x00EA, 0x00EB, 0x00E8, 0x00EF, 0x00EE, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 59 | 0x0000, 0x0651, 0x0652, 0x00F4, 0x00A4, 0x0640, 0x00FB, 0x00F9, |
JuanManuelAmador | 0:3d456b8ce449 | 60 | 0x0621, 0x0622, 0x0623, 0x0624, 0x00A3, 0x0625, 0x0626, 0x0627, |
JuanManuelAmador | 0:3d456b8ce449 | 61 | 0x0628, 0x0629, 0x062A, 0x062B, 0x062C, 0x062D, 0x062E, 0x062F, |
JuanManuelAmador | 0:3d456b8ce449 | 62 | 0x0630, 0x0631, 0x0632, 0x0633, 0x0634, 0x0635, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 63 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, |
JuanManuelAmador | 0:3d456b8ce449 | 64 | 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 65 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F, |
JuanManuelAmador | 0:3d456b8ce449 | 66 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567, |
JuanManuelAmador | 0:3d456b8ce449 | 67 | 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B, |
JuanManuelAmador | 0:3d456b8ce449 | 68 | 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 69 | 0x0636, 0x0637, 0x0638, 0x0639, 0x063A, 0x0641, 0x00B5, 0x0642, |
JuanManuelAmador | 0:3d456b8ce449 | 70 | 0x0643, 0x0644, 0x0645, 0x0646, 0x0647, 0x0648, 0x0649, 0x064A, |
JuanManuelAmador | 0:3d456b8ce449 | 71 | 0x2261, 0x064B, 0x064C, 0x064D, 0x064E, 0x064F, 0xO650, 0x2248, |
JuanManuelAmador | 0:3d456b8ce449 | 72 | 0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 73 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 74 | |
JuanManuelAmador | 0:3d456b8ce449 | 75 | #elif _CODE_PAGE == 737 |
JuanManuelAmador | 0:3d456b8ce449 | 76 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 77 | static |
JuanManuelAmador | 0:3d456b8ce449 | 78 | const WCHAR Tbl[] = { /* CP737(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 79 | 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, 0x0398, |
JuanManuelAmador | 0:3d456b8ce449 | 80 | 0x0399, 0x039A, 0x039B, 0x039C, 0x039D, 0x039E, 0x039F, 0x03A0, |
JuanManuelAmador | 0:3d456b8ce449 | 81 | 0x03A1, 0x03A3, 0x03A4, 0x03A5, 0x03A6, 0x03A7, 0x03A8, 0x03A9, |
JuanManuelAmador | 0:3d456b8ce449 | 82 | 0x03B1, 0x03B2, 0x03B3, 0x03B4, 0x03B5, 0x03B6, 0x03B7, 0x03B8, |
JuanManuelAmador | 0:3d456b8ce449 | 83 | 0x03B9, 0x03BA, 0x03BB, 0x03BC, 0x03BD, 0x03BE, 0x03BF, 0x03C0, |
JuanManuelAmador | 0:3d456b8ce449 | 84 | 0x03C1, 0x03C3, 0x03C2, 0x03C4, 0x03C5, 0x03C6, 0x03C7, 0x03C8, |
JuanManuelAmador | 0:3d456b8ce449 | 85 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, |
JuanManuelAmador | 0:3d456b8ce449 | 86 | 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 87 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F, |
JuanManuelAmador | 0:3d456b8ce449 | 88 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567, |
JuanManuelAmador | 0:3d456b8ce449 | 89 | 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B, |
JuanManuelAmador | 0:3d456b8ce449 | 90 | 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 91 | 0x03C9, 0x03AC, 0x03AD, 0x03AE, 0x03CA, 0x03AF, 0x03CC, 0x03CD, |
JuanManuelAmador | 0:3d456b8ce449 | 92 | 0x03CB, 0x03CE, 0x0386, 0x0388, 0x0389, 0x038A, 0x038C, 0x038E, |
JuanManuelAmador | 0:3d456b8ce449 | 93 | 0x038F, 0x00B1, 0x2265, 0x2264, 0x03AA, 0x03AB, 0x00F7, 0x2248, |
JuanManuelAmador | 0:3d456b8ce449 | 94 | 0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 95 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 96 | |
JuanManuelAmador | 0:3d456b8ce449 | 97 | #elif _CODE_PAGE == 775 |
JuanManuelAmador | 0:3d456b8ce449 | 98 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 99 | static |
JuanManuelAmador | 0:3d456b8ce449 | 100 | const WCHAR Tbl[] = { /* CP775(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 101 | 0x0106, 0x00FC, 0x00E9, 0x0101, 0x00E4, 0x0123, 0x00E5, 0x0107, |
JuanManuelAmador | 0:3d456b8ce449 | 102 | 0x0142, 0x0113, 0x0156, 0x0157, 0x012B, 0x0179, 0x00C4, 0x00C5, |
JuanManuelAmador | 0:3d456b8ce449 | 103 | 0x00C9, 0x00E6, 0x00C6, 0x014D, 0x00F6, 0x0122, 0x00A2, 0x015A, |
JuanManuelAmador | 0:3d456b8ce449 | 104 | 0x015B, 0x00D6, 0x00DC, 0x00F8, 0x00A3, 0x00D8, 0x00D7, 0x00A4, |
JuanManuelAmador | 0:3d456b8ce449 | 105 | 0x0100, 0x012A, 0x00F3, 0x017B, 0x017C, 0x017A, 0x201D, 0x00A6, |
JuanManuelAmador | 0:3d456b8ce449 | 106 | 0x00A9, 0x00AE, 0x00AC, 0x00BD, 0x00BC, 0x0141, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 107 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x0104, 0x010C, 0x0118, |
JuanManuelAmador | 0:3d456b8ce449 | 108 | 0x0116, 0x2563, 0x2551, 0x2557, 0x255D, 0x012E, 0x0160, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 109 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x0172, 0x016A, |
JuanManuelAmador | 0:3d456b8ce449 | 110 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x017D, |
JuanManuelAmador | 0:3d456b8ce449 | 111 | 0x0105, 0x010D, 0x0119, 0x0117, 0x012F, 0x0161, 0x0173, 0x016B, |
JuanManuelAmador | 0:3d456b8ce449 | 112 | 0x017E, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 113 | 0x00D3, 0x00DF, 0x014C, 0x0143, 0x00F5, 0x00D5, 0x00B5, 0x0144, |
JuanManuelAmador | 0:3d456b8ce449 | 114 | 0x0136, 0x0137, 0x013B, 0x013C, 0x0146, 0x0112, 0x0145, 0x2019, |
JuanManuelAmador | 0:3d456b8ce449 | 115 | 0x00AD, 0x00B1, 0x201C, 0x00BE, 0x00B6, 0x00A7, 0x00F7, 0x201E, |
JuanManuelAmador | 0:3d456b8ce449 | 116 | 0x00B0, 0x2219, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 117 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 118 | |
JuanManuelAmador | 0:3d456b8ce449 | 119 | #elif _CODE_PAGE == 850 |
JuanManuelAmador | 0:3d456b8ce449 | 120 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 121 | static |
JuanManuelAmador | 0:3d456b8ce449 | 122 | const WCHAR Tbl[] = { /* CP850(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 123 | 0x00C7, 0x00FC, 0x00E9, 0x00E2, 0x00E4, 0x00E0, 0x00E5, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 124 | 0x00EA, 0x00EB, 0x00E8, 0x00EF, 0x00EE, 0x00EC, 0x00C4, 0x00C5, |
JuanManuelAmador | 0:3d456b8ce449 | 125 | 0x00C9, 0x00E6, 0x00C6, 0x00F4, 0x00F6, 0x00F2, 0x00FB, 0x00F9, |
JuanManuelAmador | 0:3d456b8ce449 | 126 | 0x00FF, 0x00D6, 0x00DC, 0x00F8, 0x00A3, 0x00D8, 0x00D7, 0x0192, |
JuanManuelAmador | 0:3d456b8ce449 | 127 | 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x00F1, 0x00D1, 0x00AA, 0x00BA, |
JuanManuelAmador | 0:3d456b8ce449 | 128 | 0x00BF, 0x00AE, 0x00AC, 0x00BD, 0x00BC, 0x00A1, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 129 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00C1, 0x00C2, 0x00C0, |
JuanManuelAmador | 0:3d456b8ce449 | 130 | 0x00A9, 0x2563, 0x2551, 0x2557, 0x255D, 0x00A2, 0x00A5, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 131 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x00E3, 0x00C3, |
JuanManuelAmador | 0:3d456b8ce449 | 132 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x00A4, |
JuanManuelAmador | 0:3d456b8ce449 | 133 | 0x00F0, 0x00D0, 0x00CA, 0x00CB, 0x00C8, 0x0131, 0x00CD, 0x00CE, |
JuanManuelAmador | 0:3d456b8ce449 | 134 | 0x00CF, 0x2518, 0x250C, 0x2588, 0x2584, 0x00A6, 0x00CC, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 135 | 0x00D3, 0x00DF, 0x00D4, 0x00D2, 0x00F5, 0x00D5, 0x00B5, 0x00FE, |
JuanManuelAmador | 0:3d456b8ce449 | 136 | 0x00DE, 0x00DA, 0x00DB, 0x00D9, 0x00FD, 0x00DD, 0x00AF, 0x00B4, |
JuanManuelAmador | 0:3d456b8ce449 | 137 | 0x00AD, 0x00B1, 0x2017, 0x00BE, 0x00B6, 0x00A7, 0x00F7, 0x00B8, |
JuanManuelAmador | 0:3d456b8ce449 | 138 | 0x00B0, 0x00A8, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 139 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 140 | |
JuanManuelAmador | 0:3d456b8ce449 | 141 | #elif _CODE_PAGE == 852 |
JuanManuelAmador | 0:3d456b8ce449 | 142 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 143 | static |
JuanManuelAmador | 0:3d456b8ce449 | 144 | const WCHAR Tbl[] = { /* CP852(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 145 | 0x00C7, 0x00FC, 0x00E9, 0x00E2, 0x00E4, 0x016F, 0x0107, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 146 | 0x0142, 0x00EB, 0x0150, 0x0151, 0x00EE, 0x0179, 0x00C4, 0x0106, |
JuanManuelAmador | 0:3d456b8ce449 | 147 | 0x00C9, 0x0139, 0x013A, 0x00F4, 0x00F6, 0x013D, 0x013E, 0x015A, |
JuanManuelAmador | 0:3d456b8ce449 | 148 | 0x015B, 0x00D6, 0x00DC, 0x0164, 0x0165, 0x0141, 0x00D7, 0x010D, |
JuanManuelAmador | 0:3d456b8ce449 | 149 | 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x0104, 0x0105, 0x017D, 0x017E, |
JuanManuelAmador | 0:3d456b8ce449 | 150 | 0x0118, 0x0119, 0x00AC, 0x017A, 0x010C, 0x015F, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 151 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00C1, 0x00C2, 0x011A, |
JuanManuelAmador | 0:3d456b8ce449 | 152 | 0x015E, 0x2563, 0x2551, 0x2557, 0x255D, 0x017B, 0x017C, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 153 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x0102, 0x0103, |
JuanManuelAmador | 0:3d456b8ce449 | 154 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x00A4, |
JuanManuelAmador | 0:3d456b8ce449 | 155 | 0x0111, 0x0110, 0x010E, 0x00CB, 0x010F, 0x0147, 0x00CD, 0x00CE, |
JuanManuelAmador | 0:3d456b8ce449 | 156 | 0x011B, 0x2518, 0x250C, 0x2588, 0x2584, 0x0162, 0x016E, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 157 | 0x00D3, 0x00DF, 0x00D4, 0x0143, 0x0144, 0x0148, 0x0160, 0x0161, |
JuanManuelAmador | 0:3d456b8ce449 | 158 | 0x0154, 0x00DA, 0x0155, 0x0170, 0x00FD, 0x00DD, 0x0163, 0x00B4, |
JuanManuelAmador | 0:3d456b8ce449 | 159 | 0x00AD, 0x02DD, 0x02DB, 0x02C7, 0x02D8, 0x00A7, 0x00F7, 0x00B8, |
JuanManuelAmador | 0:3d456b8ce449 | 160 | 0x00B0, 0x00A8, 0x02D9, 0x0171, 0x0158, 0x0159, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 161 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 162 | |
JuanManuelAmador | 0:3d456b8ce449 | 163 | #elif _CODE_PAGE == 855 |
JuanManuelAmador | 0:3d456b8ce449 | 164 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 165 | static |
JuanManuelAmador | 0:3d456b8ce449 | 166 | const WCHAR Tbl[] = { /* CP855(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 167 | 0x0452, 0x0402, 0x0453, 0x0403, 0x0451, 0x0401, 0x0454, 0x0404, |
JuanManuelAmador | 0:3d456b8ce449 | 168 | 0x0455, 0x0405, 0x0456, 0x0406, 0x0457, 0x0407, 0x0458, 0x0408, |
JuanManuelAmador | 0:3d456b8ce449 | 169 | 0x0459, 0x0409, 0x045A, 0x040A, 0x045B, 0x040B, 0x045C, 0x040C, |
JuanManuelAmador | 0:3d456b8ce449 | 170 | 0x045E, 0x040E, 0x045F, 0x040F, 0x044E, 0x042E, 0x044A, 0x042A, |
JuanManuelAmador | 0:3d456b8ce449 | 171 | 0x0430, 0x0410, 0x0431, 0x0411, 0x0446, 0x0426, 0x0434, 0x0414, |
JuanManuelAmador | 0:3d456b8ce449 | 172 | 0x0435, 0x0415, 0x0444, 0x0424, 0x0433, 0x0413, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 173 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x0445, 0x0425, 0x0438, |
JuanManuelAmador | 0:3d456b8ce449 | 174 | 0x0418, 0x2563, 0x2551, 0x2557, 0x255D, 0x0439, 0x0419, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 175 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x043A, 0x041A, |
JuanManuelAmador | 0:3d456b8ce449 | 176 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x00A4, |
JuanManuelAmador | 0:3d456b8ce449 | 177 | 0x043B, 0x041B, 0x043C, 0x041C, 0x043D, 0x041D, 0x043E, 0x041E, |
JuanManuelAmador | 0:3d456b8ce449 | 178 | 0x043F, 0x2518, 0x250C, 0x2588, 0x2584, 0x041F, 0x044F, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 179 | 0x042F, 0x0440, 0x0420, 0x0441, 0x0421, 0x0442, 0x0422, 0x0443, |
JuanManuelAmador | 0:3d456b8ce449 | 180 | 0x0423, 0x0436, 0x0416, 0x0432, 0x0412, 0x044C, 0x042C, 0x2116, |
JuanManuelAmador | 0:3d456b8ce449 | 181 | 0x00AD, 0x044B, 0x042B, 0x0437, 0x0417, 0x0448, 0x0428, 0x044D, |
JuanManuelAmador | 0:3d456b8ce449 | 182 | 0x042D, 0x0449, 0x0429, 0x0447, 0x0427, 0x00A7, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 183 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 184 | |
JuanManuelAmador | 0:3d456b8ce449 | 185 | #elif _CODE_PAGE == 857 |
JuanManuelAmador | 0:3d456b8ce449 | 186 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 187 | static |
JuanManuelAmador | 0:3d456b8ce449 | 188 | const WCHAR Tbl[] = { /* CP857(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 189 | 0x00C7, 0x00FC, 0x00E9, 0x00E2, 0x00E4, 0x00E0, 0x00E5, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 190 | 0x00EA, 0x00EB, 0x00E8, 0x00EF, 0x00EE, 0x0131, 0x00C4, 0x00C5, |
JuanManuelAmador | 0:3d456b8ce449 | 191 | 0x00C9, 0x00E6, 0x00C6, 0x00F4, 0x00F6, 0x00F2, 0x00FB, 0x00F9, |
JuanManuelAmador | 0:3d456b8ce449 | 192 | 0x0130, 0x00D6, 0x00DC, 0x00F8, 0x00A3, 0x00D8, 0x015E, 0x015F, |
JuanManuelAmador | 0:3d456b8ce449 | 193 | 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x00F1, 0x00D1, 0x011E, 0x011F, |
JuanManuelAmador | 0:3d456b8ce449 | 194 | 0x00BF, 0x00AE, 0x00AC, 0x00BD, 0x00BC, 0x00A1, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 195 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00C1, 0x00C2, 0x00C0, |
JuanManuelAmador | 0:3d456b8ce449 | 196 | 0x00A9, 0x2563, 0x2551, 0x2557, 0x255D, 0x00A2, 0x00A5, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 197 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x00E3, 0x00C3, |
JuanManuelAmador | 0:3d456b8ce449 | 198 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x00A4, |
JuanManuelAmador | 0:3d456b8ce449 | 199 | 0x00BA, 0x00AA, 0x00CA, 0x00CB, 0x00C8, 0x0000, 0x00CD, 0x00CE, |
JuanManuelAmador | 0:3d456b8ce449 | 200 | 0x00CF, 0x2518, 0x250C, 0x2588, 0x2584, 0x00A6, 0x00CC, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 201 | 0x00D3, 0x00DF, 0x00D4, 0x00D2, 0x00F5, 0x00D5, 0x00B5, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 202 | 0x00D7, 0x00DA, 0x00DB, 0x00D9, 0x00EC, 0x00FF, 0x00AF, 0x00B4, |
JuanManuelAmador | 0:3d456b8ce449 | 203 | 0x00AD, 0x00B1, 0x0000, 0x00BE, 0x00B6, 0x00A7, 0x00F7, 0x00B8, |
JuanManuelAmador | 0:3d456b8ce449 | 204 | 0x00B0, 0x00A8, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 205 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 206 | |
JuanManuelAmador | 0:3d456b8ce449 | 207 | #elif _CODE_PAGE == 858 |
JuanManuelAmador | 0:3d456b8ce449 | 208 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 209 | static |
JuanManuelAmador | 0:3d456b8ce449 | 210 | const WCHAR Tbl[] = { /* CP858(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 211 | 0x00C7, 0x00FC, 0x00E9, 0x00E2, 0x00E4, 0x00E0, 0x00E5, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 212 | 0x00EA, 0x00EB, 0x00E8, 0x00EF, 0x00EE, 0x00EC, 0x00C4, 0x00C5, |
JuanManuelAmador | 0:3d456b8ce449 | 213 | 0x00C9, 0x00E6, 0x00C6, 0x00F4, 0x00F6, 0x00F2, 0x00FB, 0x00F9, |
JuanManuelAmador | 0:3d456b8ce449 | 214 | 0x00FF, 0x00D6, 0x00DC, 0x00F8, 0x00A3, 0x00D8, 0x00D7, 0x0192, |
JuanManuelAmador | 0:3d456b8ce449 | 215 | 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x00F1, 0x00D1, 0x00AA, 0x00BA, |
JuanManuelAmador | 0:3d456b8ce449 | 216 | 0x00BF, 0x00AE, 0x00AC, 0x00BD, 0x00BC, 0x00A1, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 217 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x00C1, 0x00C2, 0x00C0, |
JuanManuelAmador | 0:3d456b8ce449 | 218 | 0x00A9, 0x2563, 0x2551, 0x2557, 0x2550, 0x00A2, 0x00A5, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 219 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x00E3, 0x00C3, |
JuanManuelAmador | 0:3d456b8ce449 | 220 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x00A4, |
JuanManuelAmador | 0:3d456b8ce449 | 221 | 0x00F0, 0x00D0, 0x00CA, 0x00CB, 0x00C8, 0x20AC, 0x00CD, 0x00CE, |
JuanManuelAmador | 0:3d456b8ce449 | 222 | 0x00CF, 0x2518, 0x250C, 0x2588, 0x2584, 0x00C6, 0x00CC, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 223 | 0x00D3, 0x00DF, 0x00D4, 0x00D2, 0x00F5, 0x00D5, 0x00B5, 0x00FE, |
JuanManuelAmador | 0:3d456b8ce449 | 224 | 0x00DE, 0x00DA, 0x00DB, 0x00D9, 0x00FD, 0x00DD, 0x00AF, 0x00B4, |
JuanManuelAmador | 0:3d456b8ce449 | 225 | 0x00AD, 0x00B1, 0x2017, 0x00BE, 0x00B6, 0x00A7, 0x00F7, 0x00B8, |
JuanManuelAmador | 0:3d456b8ce449 | 226 | 0x00B0, 0x00A8, 0x00B7, 0x00B9, 0x00B3, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 227 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 228 | |
JuanManuelAmador | 0:3d456b8ce449 | 229 | #elif _CODE_PAGE == 862 |
JuanManuelAmador | 0:3d456b8ce449 | 230 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 231 | static |
JuanManuelAmador | 0:3d456b8ce449 | 232 | const WCHAR Tbl[] = { /* CP862(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 233 | 0x05D0, 0x05D1, 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7, |
JuanManuelAmador | 0:3d456b8ce449 | 234 | 0x05D8, 0x05D9, 0x05DA, 0x05DB, 0x05DC, 0x05DD, 0x05DE, 0x05DF, |
JuanManuelAmador | 0:3d456b8ce449 | 235 | 0x05E0, 0x05E1, 0x05E2, 0x05E3, 0x05E4, 0x05E5, 0x05E6, 0x05E7, |
JuanManuelAmador | 0:3d456b8ce449 | 236 | 0x05E8, 0x05E9, 0x05EA, 0x00A2, 0x00A3, 0x00A5, 0x20A7, 0x0192, |
JuanManuelAmador | 0:3d456b8ce449 | 237 | 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x00F1, 0x00D1, 0x00AA, 0x00BA, |
JuanManuelAmador | 0:3d456b8ce449 | 238 | 0x00BF, 0x2310, 0x00AC, 0x00BD, 0x00BC, 0x00A1, 0x00AB, 0x00BB, |
JuanManuelAmador | 0:3d456b8ce449 | 239 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, |
JuanManuelAmador | 0:3d456b8ce449 | 240 | 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 241 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F, |
JuanManuelAmador | 0:3d456b8ce449 | 242 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567, |
JuanManuelAmador | 0:3d456b8ce449 | 243 | 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B, |
JuanManuelAmador | 0:3d456b8ce449 | 244 | 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 245 | 0x03B1, 0x00DF, 0x0393, 0x03C0, 0x03A3, 0x03C3, 0x00B5, 0x03C4, |
JuanManuelAmador | 0:3d456b8ce449 | 246 | 0x03A6, 0x0398, 0x03A9, 0x03B4, 0x221E, 0x03C6, 0x03B5, 0x2229, |
JuanManuelAmador | 0:3d456b8ce449 | 247 | 0x2261, 0x00B1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00F7, 0x2248, |
JuanManuelAmador | 0:3d456b8ce449 | 248 | 0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 249 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 250 | |
JuanManuelAmador | 0:3d456b8ce449 | 251 | #elif _CODE_PAGE == 866 |
JuanManuelAmador | 0:3d456b8ce449 | 252 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 253 | static |
JuanManuelAmador | 0:3d456b8ce449 | 254 | const WCHAR Tbl[] = { /* CP866(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 255 | 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, |
JuanManuelAmador | 0:3d456b8ce449 | 256 | 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, |
JuanManuelAmador | 0:3d456b8ce449 | 257 | 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, |
JuanManuelAmador | 0:3d456b8ce449 | 258 | 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, |
JuanManuelAmador | 0:3d456b8ce449 | 259 | 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, |
JuanManuelAmador | 0:3d456b8ce449 | 260 | 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, |
JuanManuelAmador | 0:3d456b8ce449 | 261 | 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, |
JuanManuelAmador | 0:3d456b8ce449 | 262 | 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510, |
JuanManuelAmador | 0:3d456b8ce449 | 263 | 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F, |
JuanManuelAmador | 0:3d456b8ce449 | 264 | 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567, |
JuanManuelAmador | 0:3d456b8ce449 | 265 | 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B, |
JuanManuelAmador | 0:3d456b8ce449 | 266 | 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, |
JuanManuelAmador | 0:3d456b8ce449 | 267 | 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, |
JuanManuelAmador | 0:3d456b8ce449 | 268 | 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F, |
JuanManuelAmador | 0:3d456b8ce449 | 269 | 0x0401, 0x0451, 0x0404, 0x0454, 0x0407, 0x0457, 0x040E, 0x045E, |
JuanManuelAmador | 0:3d456b8ce449 | 270 | 0x00B0, 0x2219, 0x00B7, 0x221A, 0x2116, 0x00A4, 0x25A0, 0x00A0 |
JuanManuelAmador | 0:3d456b8ce449 | 271 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 272 | |
JuanManuelAmador | 0:3d456b8ce449 | 273 | #elif _CODE_PAGE == 874 |
JuanManuelAmador | 0:3d456b8ce449 | 274 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 275 | static |
JuanManuelAmador | 0:3d456b8ce449 | 276 | const WCHAR Tbl[] = { /* CP874(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 277 | 0x20AC, 0x0000, 0x0000, 0x0000, 0x0000, 0x2026, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 278 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 279 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 280 | 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 281 | 0x00A0, 0x0E01, 0x0E02, 0x0E03, 0x0E04, 0x0E05, 0x0E06, 0x0E07, |
JuanManuelAmador | 0:3d456b8ce449 | 282 | 0x0E08, 0x0E09, 0x0E0A, 0x0E0B, 0x0E0C, 0x0E0D, 0x0E0E, 0x0E0F, |
JuanManuelAmador | 0:3d456b8ce449 | 283 | 0x0E10, 0x0E11, 0x0E12, 0x0E13, 0x0E14, 0x0E15, 0x0E16, 0x0E17, |
JuanManuelAmador | 0:3d456b8ce449 | 284 | 0x0E18, 0x0E19, 0x0E1A, 0x0E1B, 0x0E1C, 0x0E1D, 0x0E1E, 0x0E1F, |
JuanManuelAmador | 0:3d456b8ce449 | 285 | 0x0E20, 0x0E21, 0x0E22, 0x0E23, 0x0E24, 0x0E25, 0x0E26, 0x0E27, |
JuanManuelAmador | 0:3d456b8ce449 | 286 | 0x0E28, 0x0E29, 0x0E2A, 0x0E2B, 0x0E2C, 0x0E2D, 0x0E2E, 0x0E2F, |
JuanManuelAmador | 0:3d456b8ce449 | 287 | 0x0E30, 0x0E31, 0x0E32, 0x0E33, 0x0E34, 0x0E35, 0x0E36, 0x0E37, |
JuanManuelAmador | 0:3d456b8ce449 | 288 | 0x0E38, 0x0E39, 0x0E3A, 0x0000, 0x0000, 0x0000, 0x0000, 0x0E3F, |
JuanManuelAmador | 0:3d456b8ce449 | 289 | 0x0E40, 0x0E41, 0x0E42, 0x0E43, 0x0E44, 0x0E45, 0x0E46, 0x0E47, |
JuanManuelAmador | 0:3d456b8ce449 | 290 | 0x0E48, 0x0E49, 0x0E4A, 0x0E4B, 0x0E4C, 0x0E4D, 0x0E4E, 0x0E4F, |
JuanManuelAmador | 0:3d456b8ce449 | 291 | 0x0E50, 0x0E51, 0x0E52, 0x0E53, 0x0E54, 0x0E55, 0x0E56, 0x0E57, |
JuanManuelAmador | 0:3d456b8ce449 | 292 | 0x0E58, 0x0E59, 0x0E5A, 0x0E5B, 0x0000, 0x0000, 0x0000, 0x0000 |
JuanManuelAmador | 0:3d456b8ce449 | 293 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 294 | |
JuanManuelAmador | 0:3d456b8ce449 | 295 | #elif _CODE_PAGE == 1250 |
JuanManuelAmador | 0:3d456b8ce449 | 296 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 297 | static |
JuanManuelAmador | 0:3d456b8ce449 | 298 | const WCHAR Tbl[] = { /* CP1250(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 299 | 0x20AC, 0x0000, 0x201A, 0x0000, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 300 | 0x0000, 0x2030, 0x0160, 0x2039, 0x015A, 0x0164, 0x017D, 0x0179, |
JuanManuelAmador | 0:3d456b8ce449 | 301 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 302 | 0x0000, 0x2122, 0x0161, 0x203A, 0x015B, 0x0165, 0x017E, 0x017A, |
JuanManuelAmador | 0:3d456b8ce449 | 303 | 0x00A0, 0x02C7, 0x02D8, 0x0141, 0x00A4, 0x0104, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 304 | 0x00A8, 0x00A9, 0x015E, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x017B, |
JuanManuelAmador | 0:3d456b8ce449 | 305 | 0x00B0, 0x00B1, 0x02DB, 0x0142, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 306 | 0x00B8, 0x0105, 0x015F, 0x00BB, 0x013D, 0x02DD, 0x013E, 0x017C, |
JuanManuelAmador | 0:3d456b8ce449 | 307 | 0x0154, 0x00C1, 0x00C2, 0x0102, 0x00C4, 0x0139, 0x0106, 0x00C7, |
JuanManuelAmador | 0:3d456b8ce449 | 308 | 0x010C, 0x00C9, 0x0118, 0x00CB, 0x011A, 0x00CD, 0x00CE, 0x010E, |
JuanManuelAmador | 0:3d456b8ce449 | 309 | 0x0110, 0x0143, 0x0147, 0x00D3, 0x00D4, 0x0150, 0x00D6, 0x00D7, |
JuanManuelAmador | 0:3d456b8ce449 | 310 | 0x0158, 0x016E, 0x00DA, 0x0170, 0x00DC, 0x00DD, 0x0162, 0x00DF, |
JuanManuelAmador | 0:3d456b8ce449 | 311 | 0x0155, 0x00E1, 0x00E2, 0x0103, 0x00E4, 0x013A, 0x0107, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 312 | 0x010D, 0x00E9, 0x0119, 0x00EB, 0x011B, 0x00ED, 0x00EE, 0x010F, |
JuanManuelAmador | 0:3d456b8ce449 | 313 | 0x0111, 0x0144, 0x0148, 0x00F3, 0x00F4, 0x0151, 0x00F6, 0x00F7, |
JuanManuelAmador | 0:3d456b8ce449 | 314 | 0x0159, 0x016F, 0x00FA, 0x0171, 0x00FC, 0x00FD, 0x0163, 0x02D9 |
JuanManuelAmador | 0:3d456b8ce449 | 315 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 316 | |
JuanManuelAmador | 0:3d456b8ce449 | 317 | #elif _CODE_PAGE == 1251 |
JuanManuelAmador | 0:3d456b8ce449 | 318 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 319 | static |
JuanManuelAmador | 0:3d456b8ce449 | 320 | const WCHAR Tbl[] = { /* CP1251(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 321 | 0x0402, 0x0403, 0x201A, 0x0453, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 322 | 0x20AC, 0x2030, 0x0409, 0x2039, 0x040A, 0x040C, 0x040B, 0x040F, |
JuanManuelAmador | 0:3d456b8ce449 | 323 | 0x0452, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 324 | 0x0000, 0x2111, 0x0459, 0x203A, 0x045A, 0x045C, 0x045B, 0x045F, |
JuanManuelAmador | 0:3d456b8ce449 | 325 | 0x00A0, 0x040E, 0x045E, 0x0408, 0x00A4, 0x0490, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 326 | 0x0401, 0x00A9, 0x0404, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x0407, |
JuanManuelAmador | 0:3d456b8ce449 | 327 | 0x00B0, 0x00B1, 0x0406, 0x0456, 0x0491, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 328 | 0x0451, 0x2116, 0x0454, 0x00BB, 0x0458, 0x0405, 0x0455, 0x0457, |
JuanManuelAmador | 0:3d456b8ce449 | 329 | 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0416, 0x0417, |
JuanManuelAmador | 0:3d456b8ce449 | 330 | 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, |
JuanManuelAmador | 0:3d456b8ce449 | 331 | 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, |
JuanManuelAmador | 0:3d456b8ce449 | 332 | 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, |
JuanManuelAmador | 0:3d456b8ce449 | 333 | 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0436, 0x0437, |
JuanManuelAmador | 0:3d456b8ce449 | 334 | 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, |
JuanManuelAmador | 0:3d456b8ce449 | 335 | 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, |
JuanManuelAmador | 0:3d456b8ce449 | 336 | 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F |
JuanManuelAmador | 0:3d456b8ce449 | 337 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 338 | |
JuanManuelAmador | 0:3d456b8ce449 | 339 | #elif _CODE_PAGE == 1252 |
JuanManuelAmador | 0:3d456b8ce449 | 340 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 341 | static |
JuanManuelAmador | 0:3d456b8ce449 | 342 | const WCHAR Tbl[] = { /* CP1252(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 343 | 0x20AC, 0x0000, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 344 | 0x02C6, 0x2030, 0x0160, 0x2039, 0x0152, 0x0000, 0x017D, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 345 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 346 | 0x02DC, 0x2122, 0x0161, 0x203A, 0x0153, 0x0000, 0x017E, 0x0178, |
JuanManuelAmador | 0:3d456b8ce449 | 347 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 348 | 0x00A8, 0x00A9, 0x00AA, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF, |
JuanManuelAmador | 0:3d456b8ce449 | 349 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 350 | 0x00B8, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF, |
JuanManuelAmador | 0:3d456b8ce449 | 351 | 0x00C0, 0x00C1, 0x00C2, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, |
JuanManuelAmador | 0:3d456b8ce449 | 352 | 0x00C8, 0x00C9, 0x00CA, 0x00CB, 0x00CC, 0x00CD, 0x00CE, 0x00CF, |
JuanManuelAmador | 0:3d456b8ce449 | 353 | 0x00D0, 0x00D1, 0x00D2, 0x00D3, 0x00D4, 0x00D5, 0x00D6, 0x00D7, |
JuanManuelAmador | 0:3d456b8ce449 | 354 | 0x00D8, 0x00D9, 0x00DA, 0x00DB, 0x00DC, 0x00DD, 0x00DE, 0x00DF, |
JuanManuelAmador | 0:3d456b8ce449 | 355 | 0x00E0, 0x00E1, 0x00E2, 0x00E3, 0x00E4, 0x00E5, 0x00E6, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 356 | 0x00E8, 0x00E9, 0x00EA, 0x00EB, 0x00EC, 0x00ED, 0x00EE, 0x00EF, |
JuanManuelAmador | 0:3d456b8ce449 | 357 | 0x00F0, 0x00F1, 0x00F2, 0x00F3, 0x00F4, 0x00F5, 0x00F6, 0x00F7, |
JuanManuelAmador | 0:3d456b8ce449 | 358 | 0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x00FD, 0x00FE, 0x00FF |
JuanManuelAmador | 0:3d456b8ce449 | 359 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 360 | |
JuanManuelAmador | 0:3d456b8ce449 | 361 | #elif _CODE_PAGE == 1253 |
JuanManuelAmador | 0:3d456b8ce449 | 362 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 363 | static |
JuanManuelAmador | 0:3d456b8ce449 | 364 | const WCHAR Tbl[] = { /* CP1253(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 365 | 0x20AC, 0x0000, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 366 | 0x0000, 0x2030, 0x0000, 0x2039, 0x000C, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 367 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 368 | 0x0000, 0x2122, 0x0000, 0x203A, 0x0000, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 369 | 0x00A0, 0x0385, 0x0386, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 370 | 0x00A8, 0x00A9, 0x0000, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x2015, |
JuanManuelAmador | 0:3d456b8ce449 | 371 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x0384, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 372 | 0x0388, 0x0389, 0x038A, 0x00BB, 0x038C, 0x00BD, 0x038E, 0x038F, |
JuanManuelAmador | 0:3d456b8ce449 | 373 | 0x0390, 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, |
JuanManuelAmador | 0:3d456b8ce449 | 374 | 0x0398, 0x0399, 0x039A, 0x039B, 0x039C, 0x039D, 0x039E, 0x039F, |
JuanManuelAmador | 0:3d456b8ce449 | 375 | 0x03A0, 0x03A1, 0x0000, 0x03A3, 0x03A4, 0x03A5, 0x03A6, 0x03A7, |
JuanManuelAmador | 0:3d456b8ce449 | 376 | 0x03A8, 0x03A9, 0x03AA, 0x03AD, 0x03AC, 0x03AD, 0x03AE, 0x03AF, |
JuanManuelAmador | 0:3d456b8ce449 | 377 | 0x03B0, 0x03B1, 0x03B2, 0x03B3, 0x03B4, 0x03B5, 0x03B6, 0x03B7, |
JuanManuelAmador | 0:3d456b8ce449 | 378 | 0x03B8, 0x03B9, 0x03BA, 0x03BB, 0x03BC, 0x03BD, 0x03BE, 0x03BF, |
JuanManuelAmador | 0:3d456b8ce449 | 379 | 0x03C0, 0x03C1, 0x03C2, 0x03C3, 0x03C4, 0x03C5, 0x03C6, 0x03C7, |
JuanManuelAmador | 0:3d456b8ce449 | 380 | 0x03C8, 0x03C9, 0x03CA, 0x03CB, 0x03CC, 0x03CD, 0x03CE, 0x0000 |
JuanManuelAmador | 0:3d456b8ce449 | 381 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 382 | |
JuanManuelAmador | 0:3d456b8ce449 | 383 | #elif _CODE_PAGE == 1254 |
JuanManuelAmador | 0:3d456b8ce449 | 384 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 385 | static |
JuanManuelAmador | 0:3d456b8ce449 | 386 | const WCHAR Tbl[] = { /* CP1254(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 387 | 0x20AC, 0x0000, 0x210A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 388 | 0x02C6, 0x2030, 0x0160, 0x2039, 0x0152, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 389 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 390 | 0x02DC, 0x2122, 0x0161, 0x203A, 0x0153, 0x0000, 0x0000, 0x0178, |
JuanManuelAmador | 0:3d456b8ce449 | 391 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 392 | 0x00A8, 0x00A9, 0x00AA, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF, |
JuanManuelAmador | 0:3d456b8ce449 | 393 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 394 | 0x00B8, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF, |
JuanManuelAmador | 0:3d456b8ce449 | 395 | 0x00C0, 0x00C1, 0x00C2, 0x00C3, 0x00C4, 0x00C5, 0x00C6, 0x00C7, |
JuanManuelAmador | 0:3d456b8ce449 | 396 | 0x00C8, 0x00C9, 0x00CA, 0x00CB, 0x00CC, 0x00CD, 0x00CE, 0x00CF, |
JuanManuelAmador | 0:3d456b8ce449 | 397 | 0x011E, 0x00D1, 0x00D2, 0x00D3, 0x00D4, 0x00D5, 0x00D6, 0x00D7, |
JuanManuelAmador | 0:3d456b8ce449 | 398 | 0x00D8, 0x00D9, 0x00DA, 0x00BD, 0x00DC, 0x0130, 0x015E, 0x00DF, |
JuanManuelAmador | 0:3d456b8ce449 | 399 | 0x00E0, 0x00E1, 0x00E2, 0x00E3, 0x00E4, 0x00E5, 0x00E6, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 400 | 0x00E8, 0x00E9, 0x00EA, 0x00EB, 0x00EC, 0x00ED, 0x00EE, 0x00EF, |
JuanManuelAmador | 0:3d456b8ce449 | 401 | 0x011F, 0x00F1, 0x00F2, 0x00F3, 0x00F4, 0x00F5, 0x00F6, 0x00F7, |
JuanManuelAmador | 0:3d456b8ce449 | 402 | 0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x0131, 0x015F, 0x00FF |
JuanManuelAmador | 0:3d456b8ce449 | 403 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 404 | |
JuanManuelAmador | 0:3d456b8ce449 | 405 | #elif _CODE_PAGE == 1255 |
JuanManuelAmador | 0:3d456b8ce449 | 406 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 407 | static |
JuanManuelAmador | 0:3d456b8ce449 | 408 | const WCHAR Tbl[] = { /* CP1255(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 409 | 0x20AC, 0x0000, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 410 | 0x02C6, 0x2030, 0x0000, 0x2039, 0x0000, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 411 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 412 | 0x02DC, 0x2122, 0x0000, 0x203A, 0x0000, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 413 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 414 | 0x00A8, 0x00A9, 0x00D7, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF, |
JuanManuelAmador | 0:3d456b8ce449 | 415 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 416 | 0x00B8, 0x00B9, 0x00F7, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF, |
JuanManuelAmador | 0:3d456b8ce449 | 417 | 0x05B0, 0x05B1, 0x05B2, 0x05B3, 0x05B4, 0x05B5, 0x05B6, 0x05B7, |
JuanManuelAmador | 0:3d456b8ce449 | 418 | 0x05B8, 0x05B9, 0x0000, 0x05BB, 0x05BC, 0x05BD, 0x05BE, 0x05BF, |
JuanManuelAmador | 0:3d456b8ce449 | 419 | 0x05C0, 0x05C1, 0x05C2, 0x05C3, 0x05F0, 0x05F1, 0x05F2, 0x05F3, |
JuanManuelAmador | 0:3d456b8ce449 | 420 | 0x05F4, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 421 | 0x05D0, 0x05D1, 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7, |
JuanManuelAmador | 0:3d456b8ce449 | 422 | 0x05D8, 0x05D9, 0x05DA, 0x05DB, 0x05DC, 0x05DD, 0x05DE, 0x05DF, |
JuanManuelAmador | 0:3d456b8ce449 | 423 | 0x05E0, 0x05E1, 0x05E2, 0x05E3, 0x05E4, 0x05E5, 0x05E6, 0x05E7, |
JuanManuelAmador | 0:3d456b8ce449 | 424 | 0x05E8, 0x05E9, 0x05EA, 0x0000, 0x0000, 0x200E, 0x200F, 0x0000 |
JuanManuelAmador | 0:3d456b8ce449 | 425 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 426 | |
JuanManuelAmador | 0:3d456b8ce449 | 427 | #elif _CODE_PAGE == 1256 |
JuanManuelAmador | 0:3d456b8ce449 | 428 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 429 | static |
JuanManuelAmador | 0:3d456b8ce449 | 430 | const WCHAR Tbl[] = { /* CP1256(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 431 | 0x20AC, 0x067E, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 432 | 0x02C6, 0x2030, 0x0679, 0x2039, 0x0152, 0x0686, 0x0698, 0x0688, |
JuanManuelAmador | 0:3d456b8ce449 | 433 | 0x06AF, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 434 | 0x06A9, 0x2122, 0x0691, 0x203A, 0x0153, 0x200C, 0x200D, 0x06BA, |
JuanManuelAmador | 0:3d456b8ce449 | 435 | 0x00A0, 0x060C, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 436 | 0x00A8, 0x00A9, 0x06BE, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF, |
JuanManuelAmador | 0:3d456b8ce449 | 437 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 438 | 0x00B8, 0x00B9, 0x061B, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x061F, |
JuanManuelAmador | 0:3d456b8ce449 | 439 | 0x06C1, 0x0621, 0x0622, 0x0623, 0x0624, 0x0625, 0x0626, 0x0627, |
JuanManuelAmador | 0:3d456b8ce449 | 440 | 0x0628, 0x0629, 0x062A, 0x062B, 0x062C, 0x062D, 0x062E, 0x062F, |
JuanManuelAmador | 0:3d456b8ce449 | 441 | 0x0630, 0x0631, 0x0632, 0x0633, 0x0634, 0x0635, 0x0636, 0x00D7, |
JuanManuelAmador | 0:3d456b8ce449 | 442 | 0x0637, 0x0638, 0x0639, 0x063A, 0x0640, 0x0640, 0x0642, 0x0643, |
JuanManuelAmador | 0:3d456b8ce449 | 443 | 0x00E0, 0x0644, 0x00E2, 0x0645, 0x0646, 0x0647, 0x0648, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 444 | 0x00E8, 0x00E9, 0x00EA, 0x00EB, 0x0649, 0x064A, 0x00EE, 0x00EF, |
JuanManuelAmador | 0:3d456b8ce449 | 445 | 0x064B, 0x064C, 0x064D, 0x064E, 0x00F4, 0x064F, 0x0650, 0x00F7, |
JuanManuelAmador | 0:3d456b8ce449 | 446 | 0x0651, 0x00F9, 0x0652, 0x00FB, 0x00FC, 0x200E, 0x200F, 0x06D2 |
JuanManuelAmador | 0:3d456b8ce449 | 447 | } |
JuanManuelAmador | 0:3d456b8ce449 | 448 | |
JuanManuelAmador | 0:3d456b8ce449 | 449 | #elif _CODE_PAGE == 1257 |
JuanManuelAmador | 0:3d456b8ce449 | 450 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 451 | static |
JuanManuelAmador | 0:3d456b8ce449 | 452 | const WCHAR Tbl[] = { /* CP1257(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 453 | 0x20AC, 0x0000, 0x201A, 0x0000, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 454 | 0x0000, 0x2030, 0x0000, 0x2039, 0x0000, 0x00A8, 0x02C7, 0x00B8, |
JuanManuelAmador | 0:3d456b8ce449 | 455 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 456 | 0x0000, 0x2122, 0x0000, 0x203A, 0x0000, 0x00AF, 0x02DB, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 457 | 0x00A0, 0x0000, 0x00A2, 0x00A3, 0x00A4, 0x0000, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 458 | 0x00D8, 0x00A9, 0x0156, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF, |
JuanManuelAmador | 0:3d456b8ce449 | 459 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 460 | 0x00B8, 0x00B9, 0x0157, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00E6, |
JuanManuelAmador | 0:3d456b8ce449 | 461 | 0x0104, 0x012E, 0x0100, 0x0106, 0x00C4, 0x00C5, 0x0118, 0x0112, |
JuanManuelAmador | 0:3d456b8ce449 | 462 | 0x010C, 0x00C9, 0x0179, 0x0116, 0x0122, 0x0136, 0x012A, 0x013B, |
JuanManuelAmador | 0:3d456b8ce449 | 463 | 0x0160, 0x0143, 0x0145, 0x00D3, 0x014C, 0x00D5, 0x00D6, 0x00D7, |
JuanManuelAmador | 0:3d456b8ce449 | 464 | 0x0172, 0x0141, 0x015A, 0x016A, 0x00DC, 0x017B, 0x017D, 0x00DF, |
JuanManuelAmador | 0:3d456b8ce449 | 465 | 0x0105, 0x012F, 0x0101, 0x0107, 0x00E4, 0x00E5, 0x0119, 0x0113, |
JuanManuelAmador | 0:3d456b8ce449 | 466 | 0x010D, 0x00E9, 0x017A, 0x0117, 0x0123, 0x0137, 0x012B, 0x013C, |
JuanManuelAmador | 0:3d456b8ce449 | 467 | 0x0161, 0x0144, 0x0146, 0x00F3, 0x014D, 0x00F5, 0x00F6, 0x00F7, |
JuanManuelAmador | 0:3d456b8ce449 | 468 | 0x0173, 0x014E, 0x015B, 0x016B, 0x00FC, 0x017C, 0x017E, 0x02D9 |
JuanManuelAmador | 0:3d456b8ce449 | 469 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 470 | |
JuanManuelAmador | 0:3d456b8ce449 | 471 | #elif _CODE_PAGE == 1258 |
JuanManuelAmador | 0:3d456b8ce449 | 472 | #define _TBLDEF 1 |
JuanManuelAmador | 0:3d456b8ce449 | 473 | static |
JuanManuelAmador | 0:3d456b8ce449 | 474 | const WCHAR Tbl[] = { /* CP1258(0x80-0xFF) to Unicode conversion table */ |
JuanManuelAmador | 0:3d456b8ce449 | 475 | 0x20AC, 0x0000, 0x201A, 0x0192, 0x201E, 0x2026, 0x2020, 0x2021, |
JuanManuelAmador | 0:3d456b8ce449 | 476 | 0x02C6, 0x2030, 0x0000, 0x2039, 0x0152, 0x0000, 0x0000, 0x0000, |
JuanManuelAmador | 0:3d456b8ce449 | 477 | 0x0000, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014, |
JuanManuelAmador | 0:3d456b8ce449 | 478 | 0x02DC, 0x2122, 0x0000, 0x203A, 0x0153, 0x0000, 0x0000, 0x0178, |
JuanManuelAmador | 0:3d456b8ce449 | 479 | 0x00A0, 0x00A1, 0x00A2, 0x00A3, 0x00A4, 0x00A5, 0x00A6, 0x00A7, |
JuanManuelAmador | 0:3d456b8ce449 | 480 | 0x00A8, 0x00A9, 0x00AA, 0x00AB, 0x00AC, 0x00AD, 0x00AE, 0x00AF, |
JuanManuelAmador | 0:3d456b8ce449 | 481 | 0x00B0, 0x00B1, 0x00B2, 0x00B3, 0x00B4, 0x00B5, 0x00B6, 0x00B7, |
JuanManuelAmador | 0:3d456b8ce449 | 482 | 0x00B8, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0x00BD, 0x00BE, 0x00BF, |
JuanManuelAmador | 0:3d456b8ce449 | 483 | 0x00C0, 0x00C1, 0x00C2, 0x0102, 0x00C4, 0x00C5, 0x00C6, 0x00C7, |
JuanManuelAmador | 0:3d456b8ce449 | 484 | 0x00C8, 0x00C9, 0x00CA, 0x00CB, 0x0300, 0x00CD, 0x00CE, 0x00CF, |
JuanManuelAmador | 0:3d456b8ce449 | 485 | 0x0110, 0x00D1, 0x0309, 0x00D3, 0x00D4, 0x01A0, 0x00D6, 0x00D7, |
JuanManuelAmador | 0:3d456b8ce449 | 486 | 0x00D8, 0x00D9, 0x00DA, 0x00DB, 0x00DC, 0x01AF, 0x0303, 0x00DF, |
JuanManuelAmador | 0:3d456b8ce449 | 487 | 0x00E0, 0x00E1, 0x00E2, 0x0103, 0x00E4, 0x00E5, 0x00E6, 0x00E7, |
JuanManuelAmador | 0:3d456b8ce449 | 488 | 0x00E8, 0x00E9, 0x00EA, 0x00EB, 0x0301, 0x00ED, 0x00EE, 0x00EF, |
JuanManuelAmador | 0:3d456b8ce449 | 489 | 0x0111, 0x00F1, 0x0323, 0x00F3, 0x00F4, 0x01A1, 0x00F6, 0x00F7, |
JuanManuelAmador | 0:3d456b8ce449 | 490 | 0x00F8, 0x00F9, 0x00FA, 0x00FB, 0x00FC, 0x01B0, 0x20AB, 0x00FF |
JuanManuelAmador | 0:3d456b8ce449 | 491 | }; |
JuanManuelAmador | 0:3d456b8ce449 | 492 | |
JuanManuelAmador | 0:3d456b8ce449 | 493 | #endif |
JuanManuelAmador | 0:3d456b8ce449 | 494 | |
JuanManuelAmador | 0:3d456b8ce449 | 495 | |
JuanManuelAmador | 0:3d456b8ce449 | 496 | #if !_TBLDEF || !_USE_LFN |
JuanManuelAmador | 0:3d456b8ce449 | 497 | #error This file is not needed in current configuration. Remove from the project. |
JuanManuelAmador | 0:3d456b8ce449 | 498 | #endif |
JuanManuelAmador | 0:3d456b8ce449 | 499 | |
JuanManuelAmador | 0:3d456b8ce449 | 500 | |
JuanManuelAmador | 0:3d456b8ce449 | 501 | WCHAR ff_convert ( /* Converted character, Returns zero on error */ |
JuanManuelAmador | 0:3d456b8ce449 | 502 | WCHAR src, /* Character code to be converted */ |
JuanManuelAmador | 0:3d456b8ce449 | 503 | UINT dir /* 0: Unicode to OEMCP, 1: OEMCP to Unicode */ |
JuanManuelAmador | 0:3d456b8ce449 | 504 | ) |
JuanManuelAmador | 0:3d456b8ce449 | 505 | { |
JuanManuelAmador | 0:3d456b8ce449 | 506 | WCHAR c; |
JuanManuelAmador | 0:3d456b8ce449 | 507 | |
JuanManuelAmador | 0:3d456b8ce449 | 508 | |
JuanManuelAmador | 0:3d456b8ce449 | 509 | if (src < 0x80) { /* ASCII */ |
JuanManuelAmador | 0:3d456b8ce449 | 510 | c = src; |
JuanManuelAmador | 0:3d456b8ce449 | 511 | |
JuanManuelAmador | 0:3d456b8ce449 | 512 | } else { |
JuanManuelAmador | 0:3d456b8ce449 | 513 | if (dir) { /* OEMCP to Unicode */ |
JuanManuelAmador | 0:3d456b8ce449 | 514 | c = (src >= 0x100) ? 0 : Tbl[src - 0x80]; |
JuanManuelAmador | 0:3d456b8ce449 | 515 | |
JuanManuelAmador | 0:3d456b8ce449 | 516 | } else { /* Unicode to OEMCP */ |
JuanManuelAmador | 0:3d456b8ce449 | 517 | for (c = 0; c < 0x80; c++) { |
JuanManuelAmador | 0:3d456b8ce449 | 518 | if (src == Tbl[c]) break; |
JuanManuelAmador | 0:3d456b8ce449 | 519 | } |
JuanManuelAmador | 0:3d456b8ce449 | 520 | c = (c + 0x80) & 0xFF; |
JuanManuelAmador | 0:3d456b8ce449 | 521 | } |
JuanManuelAmador | 0:3d456b8ce449 | 522 | } |
JuanManuelAmador | 0:3d456b8ce449 | 523 | |
JuanManuelAmador | 0:3d456b8ce449 | 524 | return c; |
JuanManuelAmador | 0:3d456b8ce449 | 525 | } |
JuanManuelAmador | 0:3d456b8ce449 | 526 | |
JuanManuelAmador | 0:3d456b8ce449 | 527 | |
JuanManuelAmador | 0:3d456b8ce449 | 528 | WCHAR ff_wtoupper ( /* Upper converted character */ |
JuanManuelAmador | 0:3d456b8ce449 | 529 | WCHAR chr /* Input character */ |
JuanManuelAmador | 0:3d456b8ce449 | 530 | ) |
JuanManuelAmador | 0:3d456b8ce449 | 531 | { |
JuanManuelAmador | 0:3d456b8ce449 | 532 | static const WCHAR tbl_lower[] = { 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C, 0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7A, 0xA1, 0x00A2, 0x00A3, 0x00A5, 0x00AC, 0x00AF, 0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF, 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF8, 0xF9, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0x0FF, 0x101, 0x103, 0x105, 0x107, 0x109, 0x10B, 0x10D, 0x10F, 0x111, 0x113, 0x115, 0x117, 0x119, 0x11B, 0x11D, 0x11F, 0x121, 0x123, 0x125, 0x127, 0x129, 0x12B, 0x12D, 0x12F, 0x131, 0x133, 0x135, 0x137, 0x13A, 0x13C, 0x13E, 0x140, 0x142, 0x144, 0x146, 0x148, 0x14B, 0x14D, 0x14F, 0x151, 0x153, 0x155, 0x157, 0x159, 0x15B, 0x15D, 0x15F, 0x161, 0x163, 0x165, 0x167, 0x169, 0x16B, 0x16D, 0x16F, 0x171, 0x173, 0x175, 0x177, 0x17A, 0x17C, 0x17E, 0x192, 0x3B1, 0x3B2, 0x3B3, 0x3B4, 0x3B5, 0x3B6, 0x3B7, 0x3B8, 0x3B9, 0x3BA, 0x3BB, 0x3BC, 0x3BD, 0x3BE, 0x3BF, 0x3C0, 0x3C1, 0x3C3, 0x3C4, 0x3C5, 0x3C6, 0x3C7, 0x3C8, 0x3C9, 0x3CA, 0x430, 0x431, 0x432, 0x433, 0x434, 0x435, 0x436, 0x437, 0x438, 0x439, 0x43A, 0x43B, 0x43C, 0x43D, 0x43E, 0x43F, 0x440, 0x441, 0x442, 0x443, 0x444, 0x445, 0x446, 0x447, 0x448, 0x449, 0x44A, 0x44B, 0x44C, 0x44D, 0x44E, 0x44F, 0x451, 0x452, 0x453, 0x454, 0x455, 0x456, 0x457, 0x458, 0x459, 0x45A, 0x45B, 0x45C, 0x45E, 0x45F, 0x2170, 0x2171, 0x2172, 0x2173, 0x2174, 0x2175, 0x2176, 0x2177, 0x2178, 0x2179, 0x217A, 0x217B, 0x217C, 0x217D, 0x217E, 0x217F, 0xFF41, 0xFF42, 0xFF43, 0xFF44, 0xFF45, 0xFF46, 0xFF47, 0xFF48, 0xFF49, 0xFF4A, 0xFF4B, 0xFF4C, 0xFF4D, 0xFF4E, 0xFF4F, 0xFF50, 0xFF51, 0xFF52, 0xFF53, 0xFF54, 0xFF55, 0xFF56, 0xFF57, 0xFF58, 0xFF59, 0xFF5A, 0 }; |
JuanManuelAmador | 0:3d456b8ce449 | 533 | static const WCHAR tbl_upper[] = { 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5A, 0x21, 0xFFE0, 0xFFE1, 0xFFE5, 0xFFE2, 0xFFE3, 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD8, 0xD9, 0xDA, 0xDB, 0xDC, 0xDD, 0xDE, 0x178, 0x100, 0x102, 0x104, 0x106, 0x108, 0x10A, 0x10C, 0x10E, 0x110, 0x112, 0x114, 0x116, 0x118, 0x11A, 0x11C, 0x11E, 0x120, 0x122, 0x124, 0x126, 0x128, 0x12A, 0x12C, 0x12E, 0x130, 0x132, 0x134, 0x136, 0x139, 0x13B, 0x13D, 0x13F, 0x141, 0x143, 0x145, 0x147, 0x14A, 0x14C, 0x14E, 0x150, 0x152, 0x154, 0x156, 0x158, 0x15A, 0x15C, 0x15E, 0x160, 0x162, 0x164, 0x166, 0x168, 0x16A, 0x16C, 0x16E, 0x170, 0x172, 0x174, 0x176, 0x179, 0x17B, 0x17D, 0x191, 0x391, 0x392, 0x393, 0x394, 0x395, 0x396, 0x397, 0x398, 0x399, 0x39A, 0x39B, 0x39C, 0x39D, 0x39E, 0x39F, 0x3A0, 0x3A1, 0x3A3, 0x3A4, 0x3A5, 0x3A6, 0x3A7, 0x3A8, 0x3A9, 0x3AA, 0x410, 0x411, 0x412, 0x413, 0x414, 0x415, 0x416, 0x417, 0x418, 0x419, 0x41A, 0x41B, 0x41C, 0x41D, 0x41E, 0x41F, 0x420, 0x421, 0x422, 0x423, 0x424, 0x425, 0x426, 0x427, 0x428, 0x429, 0x42A, 0x42B, 0x42C, 0x42D, 0x42E, 0x42F, 0x401, 0x402, 0x403, 0x404, 0x405, 0x406, 0x407, 0x408, 0x409, 0x40A, 0x40B, 0x40C, 0x40E, 0x40F, 0x2160, 0x2161, 0x2162, 0x2163, 0x2164, 0x2165, 0x2166, 0x2167, 0x2168, 0x2169, 0x216A, 0x216B, 0x216C, 0x216D, 0x216E, 0x216F, 0xFF21, 0xFF22, 0xFF23, 0xFF24, 0xFF25, 0xFF26, 0xFF27, 0xFF28, 0xFF29, 0xFF2A, 0xFF2B, 0xFF2C, 0xFF2D, 0xFF2E, 0xFF2F, 0xFF30, 0xFF31, 0xFF32, 0xFF33, 0xFF34, 0xFF35, 0xFF36, 0xFF37, 0xFF38, 0xFF39, 0xFF3A, 0 }; |
JuanManuelAmador | 0:3d456b8ce449 | 534 | int i; |
JuanManuelAmador | 0:3d456b8ce449 | 535 | |
JuanManuelAmador | 0:3d456b8ce449 | 536 | |
JuanManuelAmador | 0:3d456b8ce449 | 537 | for (i = 0; tbl_lower[i] && chr != tbl_lower[i]; i++) ; |
JuanManuelAmador | 0:3d456b8ce449 | 538 | |
JuanManuelAmador | 0:3d456b8ce449 | 539 | return tbl_lower[i] ? tbl_upper[i] : chr; |
JuanManuelAmador | 0:3d456b8ce449 | 540 | } |