diff options
| author | Geoff Voelker | 1999-01-19 22:25:08 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1999-01-19 22:25:08 +0000 |
| commit | a4e691eeeb6679378996d775d799e23ec44c1161 (patch) | |
| tree | 6bebc199ec67e273af159eccfd5c189260b67f42 | |
| parent | f05bd64539a616327426b80d45eacd9004eb6889 (diff) | |
| download | emacs-a4e691eeeb6679378996d775d799e23ec44c1161.tar.gz emacs-a4e691eeeb6679378996d775d799e23ec44c1161.zip | |
(x_to_w32_charset): Add iso8859-9.
(w32_to_x_charset): Fix charset mappings.
| -rw-r--r-- | src/w32fns.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index 000ebb54018..2af0f45d94c 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -5228,6 +5228,7 @@ x_to_w32_charset (lpcs) | |||
| 5228 | else if (stricmp (lpcs, "iso8859-6") == 0) return ARABIC_CHARSET; | 5228 | else if (stricmp (lpcs, "iso8859-6") == 0) return ARABIC_CHARSET; |
| 5229 | else if (stricmp (lpcs, "iso8859-7") == 0) return GREEK_CHARSET; | 5229 | else if (stricmp (lpcs, "iso8859-7") == 0) return GREEK_CHARSET; |
| 5230 | else if (stricmp (lpcs, "iso8859-8") == 0) return HEBREW_CHARSET; | 5230 | else if (stricmp (lpcs, "iso8859-8") == 0) return HEBREW_CHARSET; |
| 5231 | else if (stricmp (lpcs, "iso8859-9") == 0) return TURKISH_CHARSET; | ||
| 5231 | else if (stricmp (lpcs, "viscii") == 0) return VIETNAMESE_CHARSET; | 5232 | else if (stricmp (lpcs, "viscii") == 0) return VIETNAMESE_CHARSET; |
| 5232 | else if (stricmp (lpcs, "vscii") == 0) return VIETNAMESE_CHARSET; | 5233 | else if (stricmp (lpcs, "vscii") == 0) return VIETNAMESE_CHARSET; |
| 5233 | else if (stricmp (lpcs, "tis620") == 0) return THAI_CHARSET; | 5234 | else if (stricmp (lpcs, "tis620") == 0) return THAI_CHARSET; |
| @@ -5255,7 +5256,7 @@ w32_to_x_charset (fncharset) | |||
| 5255 | case ANSI_CHARSET: return "iso8859-1"; | 5256 | case ANSI_CHARSET: return "iso8859-1"; |
| 5256 | case DEFAULT_CHARSET: return "ascii-*"; | 5257 | case DEFAULT_CHARSET: return "ascii-*"; |
| 5257 | case SYMBOL_CHARSET: return "*-symbol"; | 5258 | case SYMBOL_CHARSET: return "*-symbol"; |
| 5258 | case SHIFTJIS_CHARSET: return "jisx0212-sjis"; | 5259 | case SHIFTJIS_CHARSET: return "jisx0208-sjis"; |
| 5259 | case HANGEUL_CHARSET: return "ksc5601-*"; | 5260 | case HANGEUL_CHARSET: return "ksc5601-*"; |
| 5260 | case GB2312_CHARSET: return "gb2312-*"; | 5261 | case GB2312_CHARSET: return "gb2312-*"; |
| 5261 | case CHINESEBIG5_CHARSET: return "big5-*"; | 5262 | case CHINESEBIG5_CHARSET: return "big5-*"; |
| @@ -5265,16 +5266,18 @@ w32_to_x_charset (fncharset) | |||
| 5265 | character sets. */ | 5266 | character sets. */ |
| 5266 | #ifdef EASTEUROPE_CHARSET | 5267 | #ifdef EASTEUROPE_CHARSET |
| 5267 | case EASTEUROPE_CHARSET: return "iso8859-2"; | 5268 | case EASTEUROPE_CHARSET: return "iso8859-2"; |
| 5268 | case TURKISH_CHARSET: return "iso8859-3"; | 5269 | case TURKISH_CHARSET: return "iso8859-9"; |
| 5269 | case BALTIC_CHARSET: return "iso8859-4"; | 5270 | case BALTIC_CHARSET: return "iso8859-4"; |
| 5270 | case RUSSIAN_CHARSET: return "iso8859-5"; | 5271 | case RUSSIAN_CHARSET: return "koi8-r"; |
| 5271 | case ARABIC_CHARSET: return "iso8859-6"; | 5272 | case ARABIC_CHARSET: return "iso8859-6"; |
| 5272 | case GREEK_CHARSET: return "iso8859-7"; | 5273 | case GREEK_CHARSET: return "iso8859-7"; |
| 5273 | case HEBREW_CHARSET: return "iso8859-8"; | 5274 | case HEBREW_CHARSET: return "iso8859-8"; |
| 5274 | case VIETNAMESE_CHARSET: return "viscii1.1-*"; | 5275 | case VIETNAMESE_CHARSET: return "viscii1.1-*"; |
| 5275 | case THAI_CHARSET: return "tis620-*"; | 5276 | case THAI_CHARSET: return "tis620-*"; |
| 5276 | case MAC_CHARSET: return "*-mac"; | 5277 | case MAC_CHARSET: return "*-mac"; |
| 5277 | case JOHAB_CHARSET: break; /* What is this? Latin-9? */ | 5278 | /* Johab is Korean, but Hangeul is the standard - what is this? */ |
| 5279 | case JOHAB_CHARSET: return "*-johab"; | ||
| 5280 | |||
| 5278 | #endif | 5281 | #endif |
| 5279 | 5282 | ||
| 5280 | #ifdef UNICODE_CHARSET | 5283 | #ifdef UNICODE_CHARSET |