aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/map/cp874_ucs.map
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libwc/map/cp874_ucs.map122
1 files changed, 122 insertions, 0 deletions
diff --git a/libwc/map/cp874_ucs.map b/libwc/map/cp874_ucs.map
new file mode 100644
index 0000000..37c3c40
--- /dev/null
+++ b/libwc/map/cp874_ucs.map
@@ -0,0 +1,122 @@
+/* CP874 (Thai) */
+
+static wc_uint16 cp874_ucs_map[ 0x80 ] = {
+ 0x20AC, 0, 0, 0, 0, 0x2026, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0x2018, 0x2019, 0x201C, 0x201D, 0x2022, 0x2013, 0x2014,
+ 0, 0, 0, 0, 0, 0, 0, 0,
+ 0x00A0, 0x0E01, 0x0E02, 0x0E03, 0x0E04, 0x0E05, 0x0E06, 0x0E07,
+ 0x0E08, 0x0E09, 0x0E0A, 0x0E0B, 0x0E0C, 0x0E0D, 0x0E0E, 0x0E0F,
+ 0x0E10, 0x0E11, 0x0E12, 0x0E13, 0x0E14, 0x0E15, 0x0E16, 0x0E17,
+ 0x0E18, 0x0E19, 0x0E1A, 0x0E1B, 0x0E1C, 0x0E1D, 0x0E1E, 0x0E1F,
+ 0x0E20, 0x0E21, 0x0E22, 0x0E23, 0x0E24, 0x0E25, 0x0E26, 0x0E27,
+ 0x0E28, 0x0E29, 0x0E2A, 0x0E2B, 0x0E2C, 0x0E2D, 0x0E2E, 0x0E2F,
+ 0x0E30, 0x0E31, 0x0E32, 0x0E33, 0x0E34, 0x0E35, 0x0E36, 0x0E37,
+ 0x0E38, 0x0E39, 0x0E3A, 0, 0, 0, 0, 0x0E3F,
+ 0x0E40, 0x0E41, 0x0E42, 0x0E43, 0x0E44, 0x0E45, 0x0E46, 0x0E47,
+ 0x0E48, 0x0E49, 0x0E4A, 0x0E4B, 0x0E4C, 0x0E4D, 0x0E4E, 0x0E4F,
+ 0x0E50, 0x0E51, 0x0E52, 0x0E53, 0x0E54, 0x0E55, 0x0E56, 0x0E57,
+ 0x0E58, 0x0E59, 0x0E5A, 0x0E5B, 0, 0, 0, 0,
+};
+
+#define N_ucs_cp874_map 97
+
+static wc_map ucs_cp874_map[ N_ucs_cp874_map ] = {
+ { 0x00A0, 0xA0 },
+ { 0x0E01, 0xA1 },
+ { 0x0E02, 0xA2 },
+ { 0x0E03, 0xA3 },
+ { 0x0E04, 0xA4 },
+ { 0x0E05, 0xA5 },
+ { 0x0E06, 0xA6 },
+ { 0x0E07, 0xA7 },
+ { 0x0E08, 0xA8 },
+ { 0x0E09, 0xA9 },
+ { 0x0E0A, 0xAA },
+ { 0x0E0B, 0xAB },
+ { 0x0E0C, 0xAC },
+ { 0x0E0D, 0xAD },
+ { 0x0E0E, 0xAE },
+ { 0x0E0F, 0xAF },
+ { 0x0E10, 0xB0 },
+ { 0x0E11, 0xB1 },
+ { 0x0E12, 0xB2 },
+ { 0x0E13, 0xB3 },
+ { 0x0E14, 0xB4 },
+ { 0x0E15, 0xB5 },
+ { 0x0E16, 0xB6 },
+ { 0x0E17, 0xB7 },
+ { 0x0E18, 0xB8 },
+ { 0x0E19, 0xB9 },
+ { 0x0E1A, 0xBA },
+ { 0x0E1B, 0xBB },
+ { 0x0E1C, 0xBC },
+ { 0x0E1D, 0xBD },
+ { 0x0E1E, 0xBE },
+ { 0x0E1F, 0xBF },
+ { 0x0E20, 0xC0 },
+ { 0x0E21, 0xC1 },
+ { 0x0E22, 0xC2 },
+ { 0x0E23, 0xC3 },
+ { 0x0E24, 0xC4 },
+ { 0x0E25, 0xC5 },
+ { 0x0E26, 0xC6 },
+ { 0x0E27, 0xC7 },
+ { 0x0E28, 0xC8 },
+ { 0x0E29, 0xC9 },
+ { 0x0E2A, 0xCA },
+ { 0x0E2B, 0xCB },
+ { 0x0E2C, 0xCC },
+ { 0x0E2D, 0xCD },
+ { 0x0E2E, 0xCE },
+ { 0x0E2F, 0xCF },
+ { 0x0E30, 0xD0 },
+ { 0x0E31, 0xD1 },
+ { 0x0E32, 0xD2 },
+ { 0x0E33, 0xD3 },
+ { 0x0E34, 0xD4 },
+ { 0x0E35, 0xD5 },
+ { 0x0E36, 0xD6 },
+ { 0x0E37, 0xD7 },
+ { 0x0E38, 0xD8 },
+ { 0x0E39, 0xD9 },
+ { 0x0E3A, 0xDA },
+ { 0x0E3F, 0xDF },
+ { 0x0E40, 0xE0 },
+ { 0x0E41, 0xE1 },
+ { 0x0E42, 0xE2 },
+ { 0x0E43, 0xE3 },
+ { 0x0E44, 0xE4 },
+ { 0x0E45, 0xE5 },
+ { 0x0E46, 0xE6 },
+ { 0x0E47, 0xE7 },
+ { 0x0E48, 0xE8 },
+ { 0x0E49, 0xE9 },
+ { 0x0E4A, 0xEA },
+ { 0x0E4B, 0xEB },
+ { 0x0E4C, 0xEC },
+ { 0x0E4D, 0xED },
+ { 0x0E4E, 0xEE },
+ { 0x0E4F, 0xEF },
+ { 0x0E50, 0xF0 },
+ { 0x0E51, 0xF1 },
+ { 0x0E52, 0xF2 },
+ { 0x0E53, 0xF3 },
+ { 0x0E54, 0xF4 },
+ { 0x0E55, 0xF5 },
+ { 0x0E56, 0xF6 },
+ { 0x0E57, 0xF7 },
+ { 0x0E58, 0xF8 },
+ { 0x0E59, 0xF9 },
+ { 0x0E5A, 0xFA },
+ { 0x0E5B, 0xFB },
+ { 0x2013, 0x96 },
+ { 0x2014, 0x97 },
+ { 0x2018, 0x91 },
+ { 0x2019, 0x92 },
+ { 0x201C, 0x93 },
+ { 0x201D, 0x94 },
+ { 0x2022, 0x95 },
+ { 0x2026, 0x85 },
+ { 0x20AC, 0x80 },
+};