1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir #ifndef _RTL_TEXTENC_H 29*cdf0e10cSrcweir #define _RTL_TEXTENC_H 30*cdf0e10cSrcweir 31*cdf0e10cSrcweir #ifdef _SOLAR_RSC_INVOKED 32*cdf0e10cSrcweir /* Enable resources to use these values, rsc can't handle casts */ 33*cdf0e10cSrcweir #define RTL_TEXTENC_CAST( val ) (val) 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir #else /* !_SOLAR_RSC_INVOKED */ 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir #ifndef _SAL_TYPES_H 38*cdf0e10cSrcweir #include <sal/types.h> 39*cdf0e10cSrcweir #endif 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir /** The various supported text encodings. 42*cdf0e10cSrcweir 43*cdf0e10cSrcweir Possible values include a wide range of single- and multi-byte encodings 44*cdf0e10cSrcweir (ranging from RTL_TEXTENCODING_MS_1252 to RTL_TEXTENCODING_GB_18030), 45*cdf0e10cSrcweir the ISO 10646 (Unicode) specific encodings RTL_TEXTENCODING_UCS4 and 46*cdf0e10cSrcweir RTL_TEXTENCODING_UCS2 (aka RTL_TEXTENCODING_UNICODE), and 47*cdf0e10cSrcweir RTL_TEXTENCODING_DONTKNOW to indicate an unknown or missing encoding. 48*cdf0e10cSrcweir */ 49*cdf0e10cSrcweir typedef sal_uInt16 rtl_TextEncoding; 50*cdf0e10cSrcweir 51*cdf0e10cSrcweir #define RTL_TEXTENC_CAST( val ) ((rtl_TextEncoding) val) 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir #endif /* _SOLAR_RSC_INVOKED */ 54*cdf0e10cSrcweir 55*cdf0e10cSrcweir #define RTL_TEXTENCODING_DONTKNOW (RTL_TEXTENC_CAST( 0 )) 56*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1252 (RTL_TEXTENC_CAST( 1 )) 57*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_ROMAN (RTL_TEXTENC_CAST( 2 )) 58*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_437 (RTL_TEXTENC_CAST( 3 )) 59*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_850 (RTL_TEXTENC_CAST( 4 )) 60*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_860 (RTL_TEXTENC_CAST( 5 )) 61*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_861 (RTL_TEXTENC_CAST( 6 )) 62*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_863 (RTL_TEXTENC_CAST( 7 )) 63*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_865 (RTL_TEXTENC_CAST( 8 )) 64*cdf0e10cSrcweir /* Reserved: RTL_TEXTENCODING_SYSTEM (RTL_TEXTENC_CAST( 9 )) */ 65*cdf0e10cSrcweir #define RTL_TEXTENCODING_SYMBOL (RTL_TEXTENC_CAST( 10 )) 66*cdf0e10cSrcweir #define RTL_TEXTENCODING_ASCII_US (RTL_TEXTENC_CAST( 11 )) 67*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_1 (RTL_TEXTENC_CAST( 12 )) 68*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_2 (RTL_TEXTENC_CAST( 13 )) 69*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_3 (RTL_TEXTENC_CAST( 14 )) 70*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_4 (RTL_TEXTENC_CAST( 15 )) 71*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_5 (RTL_TEXTENC_CAST( 16 )) 72*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_6 (RTL_TEXTENC_CAST( 17 )) 73*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_7 (RTL_TEXTENC_CAST( 18 )) 74*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_8 (RTL_TEXTENC_CAST( 19 )) 75*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_9 (RTL_TEXTENC_CAST( 20 )) 76*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_14 (RTL_TEXTENC_CAST( 21 )) 77*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_15 (RTL_TEXTENC_CAST( 22 )) 78*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_737 (RTL_TEXTENC_CAST( 23 )) 79*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_775 (RTL_TEXTENC_CAST( 24 )) 80*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_852 (RTL_TEXTENC_CAST( 25 )) 81*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_855 (RTL_TEXTENC_CAST( 26 )) 82*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_857 (RTL_TEXTENC_CAST( 27 )) 83*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_862 (RTL_TEXTENC_CAST( 28 )) 84*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_864 (RTL_TEXTENC_CAST( 29 )) 85*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_866 (RTL_TEXTENC_CAST( 30 )) 86*cdf0e10cSrcweir #define RTL_TEXTENCODING_IBM_869 (RTL_TEXTENC_CAST( 31 )) 87*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_874 (RTL_TEXTENC_CAST( 32 )) 88*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1250 (RTL_TEXTENC_CAST( 33 )) 89*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1251 (RTL_TEXTENC_CAST( 34 )) 90*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1253 (RTL_TEXTENC_CAST( 35 )) 91*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1254 (RTL_TEXTENC_CAST( 36 )) 92*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1255 (RTL_TEXTENC_CAST( 37 )) 93*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1256 (RTL_TEXTENC_CAST( 38 )) 94*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1257 (RTL_TEXTENC_CAST( 39 )) 95*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1258 (RTL_TEXTENC_CAST( 40 )) 96*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_ARABIC (RTL_TEXTENC_CAST( 41 )) 97*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_CENTEURO (RTL_TEXTENC_CAST( 42 )) 98*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_CROATIAN (RTL_TEXTENC_CAST( 43 )) 99*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_CYRILLIC (RTL_TEXTENC_CAST( 44 )) 100*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_DEVANAGARI (RTL_TEXTENC_CAST( 45 )) 101*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_FARSI (RTL_TEXTENC_CAST( 46 )) 102*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_GREEK (RTL_TEXTENC_CAST( 47 )) 103*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_GUJARATI (RTL_TEXTENC_CAST( 48 )) 104*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_GURMUKHI (RTL_TEXTENC_CAST( 49 )) 105*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_HEBREW (RTL_TEXTENC_CAST( 50 )) 106*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_ICELAND (RTL_TEXTENC_CAST( 51 )) 107*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_ROMANIAN (RTL_TEXTENC_CAST( 52 )) 108*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_THAI (RTL_TEXTENC_CAST( 53 )) 109*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_TURKISH (RTL_TEXTENC_CAST( 54 )) 110*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_UKRAINIAN (RTL_TEXTENC_CAST( 55 )) 111*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_CHINSIMP (RTL_TEXTENC_CAST( 56 )) 112*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_CHINTRAD (RTL_TEXTENC_CAST( 57 )) 113*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_JAPANESE (RTL_TEXTENC_CAST( 58 )) 114*cdf0e10cSrcweir #define RTL_TEXTENCODING_APPLE_KOREAN (RTL_TEXTENC_CAST( 59 )) 115*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_932 (RTL_TEXTENC_CAST( 60 )) 116*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_936 (RTL_TEXTENC_CAST( 61 )) 117*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_949 (RTL_TEXTENC_CAST( 62 )) 118*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_950 (RTL_TEXTENC_CAST( 63 )) 119*cdf0e10cSrcweir #define RTL_TEXTENCODING_SHIFT_JIS (RTL_TEXTENC_CAST( 64 )) 120*cdf0e10cSrcweir #define RTL_TEXTENCODING_GB_2312 (RTL_TEXTENC_CAST( 65 )) 121*cdf0e10cSrcweir #define RTL_TEXTENCODING_GBT_12345 (RTL_TEXTENC_CAST( 66 )) 122*cdf0e10cSrcweir #define RTL_TEXTENCODING_GBK (RTL_TEXTENC_CAST( 67 )) 123*cdf0e10cSrcweir #define RTL_TEXTENCODING_BIG5 (RTL_TEXTENC_CAST( 68 )) 124*cdf0e10cSrcweir #define RTL_TEXTENCODING_EUC_JP (RTL_TEXTENC_CAST( 69 )) 125*cdf0e10cSrcweir #define RTL_TEXTENCODING_EUC_CN (RTL_TEXTENC_CAST( 70 )) 126*cdf0e10cSrcweir #define RTL_TEXTENCODING_EUC_TW (RTL_TEXTENC_CAST( 71 )) 127*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_2022_JP (RTL_TEXTENC_CAST( 72 )) 128*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_2022_CN (RTL_TEXTENC_CAST( 73 )) 129*cdf0e10cSrcweir #define RTL_TEXTENCODING_KOI8_R (RTL_TEXTENC_CAST( 74 )) 130*cdf0e10cSrcweir #define RTL_TEXTENCODING_UTF7 (RTL_TEXTENC_CAST( 75 )) 131*cdf0e10cSrcweir #define RTL_TEXTENCODING_UTF8 (RTL_TEXTENC_CAST( 76 )) 132*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_10 (RTL_TEXTENC_CAST( 77 )) 133*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_8859_13 (RTL_TEXTENC_CAST( 78 )) 134*cdf0e10cSrcweir #define RTL_TEXTENCODING_EUC_KR (RTL_TEXTENC_CAST( 79 )) 135*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISO_2022_KR (RTL_TEXTENC_CAST( 80 )) 136*cdf0e10cSrcweir #define RTL_TEXTENCODING_JIS_X_0201 (RTL_TEXTENC_CAST( 81 )) 137*cdf0e10cSrcweir #define RTL_TEXTENCODING_JIS_X_0208 (RTL_TEXTENC_CAST( 82 )) 138*cdf0e10cSrcweir #define RTL_TEXTENCODING_JIS_X_0212 (RTL_TEXTENC_CAST( 83 )) 139*cdf0e10cSrcweir #define RTL_TEXTENCODING_MS_1361 (RTL_TEXTENC_CAST( 84 )) 140*cdf0e10cSrcweir #define RTL_TEXTENCODING_GB_18030 (RTL_TEXTENC_CAST( 85 )) 141*cdf0e10cSrcweir #define RTL_TEXTENCODING_BIG5_HKSCS (RTL_TEXTENC_CAST( 86 )) 142*cdf0e10cSrcweir #define RTL_TEXTENCODING_TIS_620 (RTL_TEXTENC_CAST( 87 )) 143*cdf0e10cSrcweir #define RTL_TEXTENCODING_KOI8_U (RTL_TEXTENC_CAST( 88 )) 144*cdf0e10cSrcweir #define RTL_TEXTENCODING_ISCII_DEVANAGARI (RTL_TEXTENC_CAST( 89 )) 145*cdf0e10cSrcweir #define RTL_TEXTENCODING_JAVA_UTF8 (RTL_TEXTENC_CAST( 90 )) 146*cdf0e10cSrcweir #define RTL_TEXTENCODING_ADOBE_STANDARD (RTL_TEXTENC_CAST( 91 )) 147*cdf0e10cSrcweir #define RTL_TEXTENCODING_ADOBE_SYMBOL (RTL_TEXTENC_CAST( 92 )) 148*cdf0e10cSrcweir #define RTL_TEXTENCODING_PT154 (RTL_TEXTENC_CAST( 93 )) 149*cdf0e10cSrcweir #define RTL_TEXTENCODING_ADOBE_DINGBATS (RTL_TEXTENC_CAST( 94 )) 150*cdf0e10cSrcweir /* ATTENTION! Whenever some encoding is added here, make sure to update 151*cdf0e10cSrcweir * rtl_isOctetTextEncoding in tencinfo.c. 152*cdf0e10cSrcweir */ 153*cdf0e10cSrcweir 154*cdf0e10cSrcweir #define RTL_TEXTENCODING_USER_START (RTL_TEXTENC_CAST( 0x8000 )) 155*cdf0e10cSrcweir #define RTL_TEXTENCODING_USER_END (RTL_TEXTENC_CAST( 0xEFFF )) 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir #define RTL_TEXTENCODING_UCS4 (RTL_TEXTENC_CAST( 0xFFFE )) 158*cdf0e10cSrcweir #define RTL_TEXTENCODING_UCS2 (RTL_TEXTENC_CAST( 0xFFFF )) 159*cdf0e10cSrcweir #define RTL_TEXTENCODING_UNICODE RTL_TEXTENCODING_UCS2 160*cdf0e10cSrcweir 161*cdf0e10cSrcweir /****** Overview over the TextEncodings ***** 162*cdf0e10cSrcweir # Arabic (Apple Macintosh) RTL_TEXTENCODING_APPLE_ARABIC 163*cdf0e10cSrcweir Arabic (DOS/OS2-864) RTL_TEXTENCODING_IBM_864 164*cdf0e10cSrcweir Arabic (ISO-8859-6) RTL_TEXTENCODING_ISO_8859_6 165*cdf0e10cSrcweir Arabic (Windows-1256) RTL_TEXTENCODING_MS_1256 166*cdf0e10cSrcweir 167*cdf0e10cSrcweir Baltic (DOS/OS2-775) RTL_TEXTENCODING_IBM_775 168*cdf0e10cSrcweir Baltic (ISO-8859-4) RTL_TEXTENCODING_ISO_8859_4 169*cdf0e10cSrcweir Baltic (Windows-1257) RTL_TEXTENCODING_MS_1257 170*cdf0e10cSrcweir 171*cdf0e10cSrcweir Central European (Apple Macintosh) RTL_TEXTENCODING_APPLE_CENTEURO 172*cdf0e10cSrcweir Central European (Apple Macintosh/Croatian) RTL_TEXTENCODING_APPLE_CROATIAN 173*cdf0e10cSrcweir Central European (Apple Macintosh/Romanian) RTL_TEXTENCODING_APPLE_ROMANIAN 174*cdf0e10cSrcweir Central European (DOS/OS2-852) RTL_TEXTENCODING_IBM_852 175*cdf0e10cSrcweir Central European (ISO-8859-2) RTL_TEXTENCODING_ISO_8859_2 176*cdf0e10cSrcweir Central European (ISO-8859-10) RTL_TEXTENCODING_ISO_8859_10 177*cdf0e10cSrcweir Central European (ISO-8859-13) RTL_TEXTENCODING_ISO_8859_13 178*cdf0e10cSrcweir Central European (Windows-1250/WinLatin 2) RTL_TEXTENCODING_MS_1250 179*cdf0e10cSrcweir 180*cdf0e10cSrcweir Chinese Simplified (Apple Macintosh) RTL_TEXTENCODING_APPLE_CHINSIMP 181*cdf0e10cSrcweir Chinese Simplified (EUC-CN) RTL_TEXTENCODING_EUC_CN 182*cdf0e10cSrcweir Chinese Simplified (GB-2312) RTL_TEXTENCODING_GB_2312 183*cdf0e10cSrcweir Chinese Simplified (GBK/GB-2312-80) RTL_TEXTENCODING_GBK 184*cdf0e10cSrcweir # Chinese Simplified (ISO-2022-CN) RTL_TEXTENCODING_ISO_2022_CN 185*cdf0e10cSrcweir Chinese Simplified (Windows-936) RTL_TEXTENCODING_MS_936 186*cdf0e10cSrcweir # Chinese Simplified (GB-18030) RTL_TEXTENCODING_GB_18030 187*cdf0e10cSrcweir 188*cdf0e10cSrcweir Chinese Traditional (Apple Macintosh) RTL_TEXTENCODING_APPLE_CHINTRAD 189*cdf0e10cSrcweir Chinese Traditional (BIG5) RTL_TEXTENCODING_BIG5 190*cdf0e10cSrcweir # Chinese Traditional (EUC-TW) RTL_TEXTENCODING_EUC_TW 191*cdf0e10cSrcweir Chinese Traditional (GBT-12345) RTL_TEXTENCODING_GBT_12345 192*cdf0e10cSrcweir Chinese Traditional (Windows-950) RTL_TEXTENCODING_MS_950 193*cdf0e10cSrcweir Chinese Traditional (BIG5-HKSCS) RTL_TEXTENCODING_BIG5_HKSCS 194*cdf0e10cSrcweir 195*cdf0e10cSrcweir Cyrillic (Apple Macintosh) RTL_TEXTENCODING_APPLE_CYRILLIC 196*cdf0e10cSrcweir Cyrillic (Apple Macintosh/Ukrainian) RTL_TEXTENCODING_APPLE_UKRAINIAN 197*cdf0e10cSrcweir Cyrillic (DOS/OS2-855) RTL_TEXTENCODING_IBM_855 198*cdf0e10cSrcweir Cyrillic (DOS/OS2-866/Russian) RTL_TEXTENCODING_IBM_866 199*cdf0e10cSrcweir Cyrillic (ISO-8859-5) RTL_TEXTENCODING_ISO_8859_5 200*cdf0e10cSrcweir Cyrillic (KOI8-R) RTL_TEXTENCODING_KOI8_R 201*cdf0e10cSrcweir Cyrillic (KOI8-U) RTL_TEXTENCODING_KOI8_U 202*cdf0e10cSrcweir Cyrillic (Windows-1251) RTL_TEXTENCODING_MS_1251 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir Greek (Apple Macintosh) RTL_TEXTENCODING_APPLE_GREEK 205*cdf0e10cSrcweir Greek (DOS/OS2-737) RTL_TEXTENCODING_IBM_737 206*cdf0e10cSrcweir Greek (DOS/OS2-869/Modern) RTL_TEXTENCODING_IBM_869 207*cdf0e10cSrcweir Greek (ISO-8859-7) RTL_TEXTENCODING_ISO_8859_7 208*cdf0e10cSrcweir Greek (Windows-1253) RTL_TEXTENCODING_MS_1253 209*cdf0e10cSrcweir 210*cdf0e10cSrcweir # Hebrew (Apple Macintosh) RTL_TEXTENCODING_APPLE_HEBREW 211*cdf0e10cSrcweir Hebrew (DOS/OS2-862) RTL_TEXTENCODING_IBM_862 212*cdf0e10cSrcweir Hebrew (ISO-8859-8) RTL_TEXTENCODING_ISO_8859_8 213*cdf0e10cSrcweir Hebrew (Windows-1255) RTL_TEXTENCODING_MS_1255 214*cdf0e10cSrcweir 215*cdf0e10cSrcweir Korean (Apple Macintosh) RTL_TEXTENCODING_APPLE_KOREAN 216*cdf0e10cSrcweir Korean (EUC-KR) RTL_TEXTENCODING_EUC_KR 217*cdf0e10cSrcweir # Korean (ISO-2022-KR) RTL_TEXTENCODING_ISO_2022_KR 218*cdf0e10cSrcweir Korean (Windows-Wansung-949) RTL_TEXTENCODING_MS_949 219*cdf0e10cSrcweir Korean (Windows-Johab-1361) RTL_TEXTENCODING_MS_1361 220*cdf0e10cSrcweir 221*cdf0e10cSrcweir Latin 3 (ISO-8859-3) RTL_TEXTENCODING_ISO_8859_3 222*cdf0e10cSrcweir 223*cdf0e10cSrcweir Indian (ISCII Devanagari) RTL_TEXTENCODING_ISCII_DEVANAGARI 224*cdf0e10cSrcweir 225*cdf0e10cSrcweir Japanese (Apple Macintosh) RTL_TEXTENCODING_APPLE_JAPANESE 226*cdf0e10cSrcweir Japanese (EUC-JP) RTL_TEXTENCODING_EUC_JP 227*cdf0e10cSrcweir # Japanese (ISO-2022-JP) RTL_TEXTENCODING_ISO_2022_JP 228*cdf0e10cSrcweir Japanese (Shift-JIS) RTL_TEXTENCODING_SHIFT_JIS 229*cdf0e10cSrcweir Japanese (Windows-932) RTL_TEXTENCODING_MS_932 230*cdf0e10cSrcweir 231*cdf0e10cSrcweir Symbol RTL_TEXTENCODING_SYMBOL 232*cdf0e10cSrcweir 233*cdf0e10cSrcweir # Thai (Apple Macintosh) RTL_TEXTENCODING_APPLE_THAI 234*cdf0e10cSrcweir Thai (Dos/Windows-874) RTL_TEXTENCODING_MS_874 235*cdf0e10cSrcweir Thai (TIS 620) RTL_TEXTENCODING_TIS_620 236*cdf0e10cSrcweir 237*cdf0e10cSrcweir Turkish (Apple Macintosh) RTL_TEXTENCODING_APPLE_TURKISH 238*cdf0e10cSrcweir Turkish (DOS/OS2-857) RTL_TEXTENCODING_IBM_857 239*cdf0e10cSrcweir Turkish (ISO-8859-9) RTL_TEXTENCODING_ISO_8859_9 240*cdf0e10cSrcweir Turkish (Windows-1254) RTL_TEXTENCODING_MS_1254 241*cdf0e10cSrcweir 242*cdf0e10cSrcweir Unicode (UTF-7) RTL_TEXTENCODING_UTF7 243*cdf0e10cSrcweir Unicode (UTF-8) RTL_TEXTENCODING_UTF8 244*cdf0e10cSrcweir Unicode (Java's modified UTF-8) RTL_TEXTENCODING_JAVA_UTF8 245*cdf0e10cSrcweir 246*cdf0e10cSrcweir Vietnamese (Windows-1258) RTL_TEXTENCODING_MS_1258 247*cdf0e10cSrcweir 248*cdf0e10cSrcweir Western (Apple Macintosh) RTL_TEXTENCODING_APPLE_ROMAN 249*cdf0e10cSrcweir Western (Apple Macintosh/Icelandic) RTL_TEXTENCODING_APPLE_ICELAND 250*cdf0e10cSrcweir Western (ASCII/US) RTL_TEXTENCODING_ASCII_US 251*cdf0e10cSrcweir Western (DOS/OS2-437/US) RTL_TEXTENCODING_IBM_437 252*cdf0e10cSrcweir Western (DOS/OS2-850/International) RTL_TEXTENCODING_IBM_850 253*cdf0e10cSrcweir Western (DOS/OS2-860/Portugese) RTL_TEXTENCODING_IBM_860 254*cdf0e10cSrcweir Western (DOS/OS2-861/Icelandic) RTL_TEXTENCODING_IBM_861 255*cdf0e10cSrcweir Western (DOS/OS2-863/Canadian-French) RTL_TEXTENCODING_IBM_863 256*cdf0e10cSrcweir Western (DOS/OS2-865/Nordic) RTL_TEXTENCODING_IBM_865 257*cdf0e10cSrcweir Western (ISO-8859-1) RTL_TEXTENCODING_ISO_8859_1 258*cdf0e10cSrcweir Western (ISO-8859-14) RTL_TEXTENCODING_ISO_8859_14 259*cdf0e10cSrcweir Western (ISO-8859-15/EURO) RTL_TEXTENCODING_ISO_8859_15 260*cdf0e10cSrcweir Western (Window-1252/WinLatin 1) RTL_TEXTENCODING_MS_1252 261*cdf0e10cSrcweir 262*cdf0e10cSrcweir Not known and currently not supported 263*cdf0e10cSrcweir # RTL_TEXTENCODING_APPLE_DEVANAGARI 264*cdf0e10cSrcweir # RTL_TEXTENCODING_APPLE_FARSI 265*cdf0e10cSrcweir # RTL_TEXTENCODING_APPLE_GUJARATI 266*cdf0e10cSrcweir # RTL_TEXTENCODING_APPLE_GURMUKHI 267*cdf0e10cSrcweir 268*cdf0e10cSrcweir Only for internal implementations and not useful for user interface. 269*cdf0e10cSrcweir These encodings are not used for text encodings, only used for 270*cdf0e10cSrcweir font-/textoutput encodings. 271*cdf0e10cSrcweir Japanese (JIS 0201) RTL_TEXTENCODING_JISX_0201 272*cdf0e10cSrcweir Japanese (JIS 0208) RTL_TEXTENCODING_JISX_0208 273*cdf0e10cSrcweir Japanese (JIS 0212) RTL_TEXTENCODING_JISX_0212 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir # Currently not implemented 276*cdf0e10cSrcweir */ 277*cdf0e10cSrcweir 278*cdf0e10cSrcweir #endif /* _RTL_TEXTENC_H */ 279*cdf0e10cSrcweir 280