/packages/palmunits/src/palmlocale.pp
Puppet | 618 lines | 597 code | 21 blank | 0 comment | 6 complexity | ad8ea3bfcbf0998dd2cdc7cc64740e24 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
1(****************************************************************************** 2 * 3 * Copyright (c) 2000 Palm, Inc. or its subsidiaries. 4 * All rights reserved. 5 * 6 * File: PalmLocale.h 7 * 8 * Release: Palm OS SDK 4.0 (63220) 9 * 10 * Description: 11 * Public header for simple constants that support locales (information 12 * specific to locales and regions). This file is designed to support 13 * Rez in addition to C/C++. 14 * 15 * History: 16 * 05/31/00 CS Created by Chris Schneider (from LocaleMgr.h). 17 * 06/02/00 CS Moved character encoding constants in here (from TextMgr.h). 18 * 06/05/00 kwk Moved character encoding names in here (from TextMgr.h) 19 * Updated CP1252 charset name to "Windows-1252", as the new 20 * preferred standard. It was "ISO-8859-1-Windows-3.1-Latin-1". 21 * Added encodingNameUCS2. Fixed up some encoding constant names. 22 * 06/05/00 CS Hacked in changes for Rez, which doesn't support macro 23 * parameters in #defines. 24 * 06/06/00 CS Changed name form Locale.h to PalmLocale.h to avoid 25 * name collision with the Metrowerks Standard Library 26 * header Locale.h. 27 * CS Now use PALM_LOCALE_HAS_TYPES to control whether to 28 * use types (rather than just rez). 29 * 06/07/00 kwk Moved encoding name #defines out of conditional sections, 30 * since these don't depend on PALM_LOCALE_HAS_TYPES. 31 * kwk Fixed charEncodingMax - was 76, should be 75. 32 * 06/27/00 kwk Fixed charEncodingMax in the automatically generated section 33 * to also be 75. 34 * kwk Renumbered char encodings so that charEncodingUCS2 stays 35 * at 9 (where it was before I integrated with Michel), since 36 * the Sony version of TxtConvertEncoding relies on this. 37 * Basically swapped charEncodingUCS2 (was 25) with charEncodingEucJp 38 * (was 9). 39 * 07/21/00 kwk Added charEncodingUTF16, charEncodingUTF16BE, and charEncodingUTF16LE. 40 * The UTF16 encoding requires a BOM (byte order mark) in the text 41 * stream to identify big vs. little endian, while the other two 42 * are explicit. Note that for Palm OS, charEncodingUCS2 is the 43 * same as charEncodingUTF16BE without support for surrogates, but 44 * since we currently don't support characters > 16 bits, in reality 45 * charEncodingUTF16BE is more like charEncodingUCS2. 46 * kwk Updated charEncodingMax to be 77 (was 74). 47 * 08/01/00 kwk Changed cNewCalidonia to cNewCaledonia. 48 * 49 *****************************************************************************) 50 51unit palmlocale; 52 53interface 54 55uses localemgr, textmgr; 56 57// Names of the known encodings. 58const 59 encodingNameAscii = 'us-ascii'; 60 encodingNameISO8859_1 = 'ISO-8859-1'; 61 encodingNameCP1252 = 'Windows-1252'; 62 encodingNameShiftJIS = 'Shift_JIS'; 63 encodingNameCP932 = 'Windows-31J'; 64 encodingNameUTF8 = 'UTF-8'; 65 encodingNameUCS2 = 'ISO-10646-UCS-2'; 66 67// Maximum length of any encoding name. 68 69const 70 maxEncodingNameLength = 40; 71 72(*********************************************************************** 73 * Locale constants 74 ***********************************************************************) 75 76(* Language codes (ISO 639). The first 8 preserve the old values for the deprecated 77LanguageType; the rest are sorted by the 2-character language code. 78 79WARNING! Keep in sync with BOTH: 80 1) LanguageCode array in OverlayMgr.c 81 2) localeLanguage #define in UIResDefs.r 82*) 83 84// Leave the following line unchanged before 1st #define to be copied to rez section: 85// TAG SOURCE START 86 87const 88 lEnglish = LanguageType(0); // EN 89 lFrench = LanguageType(1); // FR 90 lGerman = LanguageType(2); // DE 91 lItalian = LanguageType(3); // IT 92 lSpanish = LanguageType(4); // ES 93 lUnused = LanguageType(5); // Reserved 94 95// New in 3.1 96 lJapanese = LanguageType(6); // JA (Palm calls this jp) 97 lDutch = LanguageType(7); // NL 98 99// New in 4.0 100 lAfar = LanguageType(8); // AA 101 lAbkhazian = LanguageType(9); // AB 102 lAfrikaans = LanguageType(10); // AF 103 lAmharic = LanguageType(11); // AM 104 lArabic = LanguageType(12); // AR 105 lAssamese = LanguageType(13); // AS 106 lAymara = LanguageType(14); // AY 107 lAzerbaijani = LanguageType(15); // AZ 108 lBashkir = LanguageType(16); // BA 109 lByelorussian = LanguageType(17); // BE 110 lBulgarian = LanguageType(18); // BG 111 lBihari = LanguageType(19); // BH 112 lBislama = LanguageType(20); // BI 113 lBengali = LanguageType(21); // BN (Bangla) 114 lTibetan = LanguageType(22); // BO 115 lBreton = LanguageType(23); // BR 116 lCatalan = LanguageType(24); // CA 117 lCorsican = LanguageType(25); // CO 118 lCzech = LanguageType(26); // CS 119 lWelsh = LanguageType(27); // CY 120 lDanish = LanguageType(28); // DA 121 lBhutani = LanguageType(29); // DZ 122 lGreek = LanguageType(30); // EL 123 lEsperanto = LanguageType(31); // EO 124 lEstonian = LanguageType(32); // ET 125 lBasque = LanguageType(33); // EU 126 lPersian = LanguageType(34); // FA (Farsi) 127 lFinnish = LanguageType(35); // FI 128 lFiji = LanguageType(36); // FJ 129 lFaroese = LanguageType(37); // FO 130 lFrisian = LanguageType(38); // FY 131 lIrish = LanguageType(39); // GA 132 lScotsGaelic = LanguageType(40); // GD 133 lGalician = LanguageType(41); // GL 134 lGuarani = LanguageType(42); // GN 135 lGujarati = LanguageType(43); // GU 136 lHausa = LanguageType(44); // HA 137 lHindi = LanguageType(45); // HI 138 lCroatian = LanguageType(46); // HR 139 lHungarian = LanguageType(47); // HU 140 lArmenian = LanguageType(48); // HY 141 lInterlingua = LanguageType(49); // IA 142 lInterlingue = LanguageType(50); // IE 143 lInupiak = LanguageType(51); // IK 144 lIndonesian = LanguageType(52); // IN 145 lIcelandic = LanguageType(53); // IS 146 lHebrew = LanguageType(54); // IW 147 lYiddish = LanguageType(55); // JI 148 lJavanese = LanguageType(56); // JW 149 lGeorgian = LanguageType(57); // KA 150 lKazakh = LanguageType(58); // KK 151 lGreenlandic = LanguageType(59); // KL 152 lCambodian = LanguageType(60); // KM 153 lKannada = LanguageType(61); // KN 154 lKorean = LanguageType(62); // KO 155 lKashmiri = LanguageType(63); // KS 156 lKurdish = LanguageType(64); // KU 157 lKirghiz = LanguageType(65); // KY 158 lLatin = LanguageType(66); // LA 159 lLingala = LanguageType(67); // LN 160 lLaothian = LanguageType(68); // LO 161 lLithuanian = LanguageType(69); // LT 162 lLatvian = LanguageType(70); // LV (Lettish) 163 lMalagasy = LanguageType(71); // MG 164 lMaori = LanguageType(72); // MI 165 lMacedonian = LanguageType(73); // MK 166 lMalayalam = LanguageType(74); // ML 167 lMongolian = LanguageType(75); // MN 168 lMoldavian = LanguageType(76); // MO 169 lMarathi = LanguageType(77); // MR 170 lMalay = LanguageType(78); // MS 171 lMaltese = LanguageType(79); // MT 172 lBurmese = LanguageType(80); // MY 173 lNauru = LanguageType(81); // NA 174 lNepali = LanguageType(82); // NE 175 lNorwegian = LanguageType(83); // NO 176 lOccitan = LanguageType(84); // OC 177 lAfan = LanguageType(85); // OM (Oromo) 178 lOriya = LanguageType(86); // OR 179 lPunjabi = LanguageType(87); // PA 180 lPolish = LanguageType(88); // PL 181 lPashto = LanguageType(89); // PS (Pushto) 182 lPortuguese = LanguageType(90); // PT 183 lQuechua = LanguageType(91); // QU 184 lRhaetoRomance = LanguageType(92); // RM 185 lKurundi = LanguageType(93); // RN 186 lRomanian = LanguageType(94); // RO 187 lRussian = LanguageType(95); // RU 188 lKinyarwanda = LanguageType(96); // RW 189 lSanskrit = LanguageType(97); // SA 190 lSindhi = LanguageType(98); // SD 191 lSangho = LanguageType(99); // SG 192 lSerboCroatian = LanguageType(100); // SH 193 lSinghalese = LanguageType(101); // SI 194 lSlovak = LanguageType(102); // SK 195 lSlovenian = LanguageType(103); // SL 196 lSamoan = LanguageType(104); // SM 197 lShona = LanguageType(105); // SN 198 lSomali = LanguageType(106); // SO 199 lAlbanian = LanguageType(107); // SQ 200 lSerbian = LanguageType(108); // SR 201 lSiswati = LanguageType(109); // SS 202 lSesotho = LanguageType(110); // ST 203 lSudanese = LanguageType(111); // SU 204 lSwedish = LanguageType(112); // SV 205 lSwahili = LanguageType(113); // SW 206 lTamil = LanguageType(114); // TA 207 lTelugu = LanguageType(115); // TE 208 lTajik = LanguageType(116); // TG 209 lThai = LanguageType(117); // TH 210 lTigrinya = LanguageType(118); // TI 211 lTurkmen = LanguageType(119); // TK 212 lTagalog = LanguageType(120); // TL 213 lSetswana = LanguageType(121); // TN 214 lTonga = LanguageType(122); // TO 215 lTurkish = LanguageType(123); // TR 216 lTsonga = LanguageType(124); // TS 217 lTatar = LanguageType(125); // TT 218 lTwi = LanguageType(126); // TW 219 lUkrainian = LanguageType(127); // UK 220 lUrdu = LanguageType(128); // UR 221 lUzbek = LanguageType(129); // UZ 222 lVietnamese = LanguageType(130); // VI 223 lVolapuk = LanguageType(131); // VO 224 lWolof = LanguageType(132); // WO 225 lXhosa = LanguageType(133); // XH 226 lYoruba = LanguageType(134); // YO 227 lChinese = LanguageType(135); // ZH 228 lZulu = LanguageType(136); // ZU 229 230(* Country codes (ISO 3166). The first 33 preserve the old values for the 231deprecated CountryType; the rest are sorted by the 2-character country code. 232 233WARNING! Keep in sync with BOTH: 234 1) CountryCode array in OverlayMgr.c 235 2) localeCountry #define in UIResDefs.r 236*) 237 238const 239 cAustralia = CountryType(0); // AU 240 cAustria = CountryType(1); // AT 241 cBelgium = CountryType(2); // BE 242 cBrazil = CountryType(3); // BR 243 cCanada = CountryType(4); // CA 244 cDenmark = CountryType(5); // DK 245 cFinland = CountryType(6); // FI 246 cFrance = CountryType(7); // FR 247 cGermany = CountryType(8); // DE 248 cHongKong = CountryType(9); // HK 249 cIceland = CountryType(10); // IS 250 cIreland = CountryType(11); // IE 251 cItaly = CountryType(12); // IT 252 cJapan = CountryType(13); // JP 253 cLuxembourg = CountryType(14); // LU 254 cMexico = CountryType(15); // MX 255 cNetherlands = CountryType(16); // NL 256 cNewZealand = CountryType(17); // NZ 257 cNorway = CountryType(18); // NO 258 cSpain = CountryType(19); // ES 259 cSweden = CountryType(20); // SE 260 cSwitzerland = CountryType(21); // CH 261 cUnitedKingdom = CountryType(22); // GB (UK) 262 cUnitedStates = CountryType(23); // US 263 cIndia = CountryType(24); // IN 264 cIndonesia = CountryType(25); // ID 265 cRepublicOfKorea = CountryType(26); // KR 266 cMalaysia = CountryType(27); // MY 267 cChina = CountryType(28); // CN 268 cPhilippines = CountryType(29); // PH 269 cSingapore = CountryType(30); // SG 270 cThailand = CountryType(31); // TH 271 cTaiwan = CountryType(32); // TW 272 273// New in 4.0 274 cAndorra = CountryType(33); // AD 275 cUnitedArabEmirates = CountryType(34); // AE 276 cAfghanistan = CountryType(35); // AF 277 cAntiguaAndBarbuda = CountryType(36); // AG 278 cAnguilla = CountryType(37); // AI 279 cAlbania = CountryType(38); // AL 280 cArmenia = CountryType(39); // AM 281 cNetherlandsAntilles = CountryType(40); // AN 282 cAngola = CountryType(41); // AO 283 cAntarctica = CountryType(42); // AQ 284 cArgentina = CountryType(43); // AR 285 cAmericanSamoa = CountryType(44); // AS 286 cAruba = CountryType(45); // AW 287 cAzerbaijan = CountryType(46); // AZ 288 cBosniaAndHerzegovina = CountryType(47); // BA 289 cBarbados = CountryType(48); // BB 290 cBangladesh = CountryType(49); // BD 291 cBurkinaFaso = CountryType(50); // BF 292 cBulgaria = CountryType(51); // BG 293 cBahrain = CountryType(52); // BH 294 cBurundi = CountryType(53); // BI 295 cBenin = CountryType(54); // BJ 296 cBermuda = CountryType(55); // BM 297 cBruneiDarussalam = CountryType(56); // BN 298 cBolivia = CountryType(57); // BO 299 cBahamas = CountryType(58); // BS 300 cBhutan = CountryType(59); // BT 301 cBouvetIsland = CountryType(60); // BV 302 cBotswana = CountryType(61); // BW 303 cBelarus = CountryType(62); // BY 304 cBelize = CountryType(63); // BZ 305 cCocosIslands = CountryType(64); // CC 306 cDemocraticRepublicOfTheCongo = CountryType(65); // CD 307 cCentralAfricanRepublic = CountryType(66); // CF 308 cCongo = CountryType(67); // CG 309 cIvoryCoast = CountryType(68); // CI 310 cCookIslands = CountryType(69); // CK 311 cChile = CountryType(70); // CL 312 cCameroon = CountryType(71); // CM 313 cColumbia = CountryType(72); // CO 314 cCostaRica = CountryType(73); // CR 315 cCuba = CountryType(74); // CU 316 cCapeVerde = CountryType(75); // CV 317 cChristmasIsland = CountryType(76); // CX 318 cCyprus = CountryType(77); // CY 319 cCzechRepublic = CountryType(78); // CZ 320 cDjibouti = CountryType(79); // DJ 321 cDominica = CountryType(80); // DM 322 cDominicanRepublic = CountryType(81); // DO 323 cAlgeria = CountryType(82); // DZ 324 cEcuador = CountryType(83); // EC 325 cEstonia = CountryType(84); // EE 326 cEgypt = CountryType(85); // EG 327 cWesternSahara = CountryType(86); // EH 328 cEritrea = CountryType(87); // ER 329 cEthiopia = CountryType(88); // ET 330 cFiji = CountryType(89); // FJ 331 cFalklandIslands = CountryType(90); // FK 332 cMicronesia = CountryType(91); // FM 333 cFaeroeIslands = CountryType(92); // FO 334 cMetropolitanFrance = CountryType(93); // FX 335 cGabon = CountryType(94); // GA 336 cGrenada = CountryType(95); // GD 337 cGeorgia = CountryType(96); // GE 338 cFrenchGuiana = CountryType(97); // GF 339 cGhana = CountryType(98); // GH 340 cGibraltar = CountryType(99); // GI 341 cGreenland = CountryType(100); // GL 342 cGambia = CountryType(101); // GM 343 cGuinea = CountryType(102); // GN 344 cGuadeloupe = CountryType(103); // GP 345 cEquatorialGuinea = CountryType(104); // GQ 346 cGreece = CountryType(105); // GR 347 cSouthGeorgiaAndTheSouthSandwichIslands = CountryType(106); // GS 348 cGuatemala = CountryType(107); // GT 349 cGuam = CountryType(108); // GU 350 cGuineaBisseu = CountryType(109); // GW 351 cGuyana = CountryType(110); // GY 352 cHeardAndMcDonaldIslands = CountryType(111); // HM 353 cHonduras = CountryType(112); // HN 354 cCroatia = CountryType(113); // HR 355 cHaiti = CountryType(114); // HT 356 cHungary = CountryType(115); // HU 357 cIsrael = CountryType(116); // IL 358 cBritishIndianOceanTerritory = CountryType(117); // IO 359 cIraq = CountryType(118); // IQ 360 cIran = CountryType(119); // IR 361 cJamaica = CountryType(120); // JM 362 cJordan = CountryType(121); // JO 363 cKenya = CountryType(122); // KE 364 cKyrgyzstan = CountryType(123); // KG (Kirgistan) 365 cCambodia = CountryType(124); // KH 366 cKiribati = CountryType(125); // KI 367 cComoros = CountryType(126); // KM 368 cStKittsAndNevis = CountryType(127); // KN 369 cDemocraticPeoplesRepublicOfKorea = CountryType(128); // KP 370 cKuwait = CountryType(129); // KW 371 cCaymanIslands = CountryType(130); // KY 372 cKazakhstan = CountryType(131); // KK 373 cLaos = CountryType(132); // LA 374 cLebanon = CountryType(133); // LB 375 cStLucia = CountryType(134); // LC 376 cLiechtenstein = CountryType(135); // LI 377 cSriLanka = CountryType(136); // LK 378 cLiberia = CountryType(137); // LR 379 cLesotho = CountryType(138); // LS 380 cLithuania = CountryType(139); // LT 381 cLatvia = CountryType(140); // LV 382 cLibya = CountryType(141); // LY 383 cMorrocco = CountryType(142); // MA 384 cMonaco = CountryType(143); // MC 385 cMoldova = CountryType(144); // MD 386 cMadagascar = CountryType(145); // MG 387 cMarshallIslands = CountryType(146); // MH 388 cMacedonia = CountryType(147); // MK 389 cMali = CountryType(148); // ML 390 cMyanmar = CountryType(149); // MM 391 cMongolia = CountryType(150); // MN 392 cMacau = CountryType(151); // MO 393 cNorthernMarianaIslands = CountryType(152); // MP 394 cMartinique = CountryType(153); // MQ 395 cMauritania = CountryType(154); // MR 396 cMontserrat = CountryType(155); // MS 397 cMalta = CountryType(156); // MT 398 cMauritius = CountryType(157); // MU 399 cMaldives = CountryType(158); // MV 400 cMalawi = CountryType(159); // MW 401 cMozambique = CountryType(160); // MZ 402 cNamibia = CountryType(161); // NA 403 cNewCaledonia = CountryType(162); // NC 404 cNiger = CountryType(163); // NE 405 cNorfolkIsland = CountryType(164); // NF 406 cNigeria = CountryType(165); // NG 407 cNicaragua = CountryType(166); // NI 408 cNepal = CountryType(167); // NP 409 cNauru = CountryType(168); // NR 410 cNiue = CountryType(169); // NU 411 cOman = CountryType(170); // OM 412 cPanama = CountryType(171); // PA 413 cPeru = CountryType(172); // PE 414 cFrenchPolynesia = CountryType(173); // PF 415 cPapuaNewGuinea = CountryType(174); // PG 416 cPakistan = CountryType(175); // PK 417 cPoland = CountryType(176); // PL 418 cStPierreAndMiquelon = CountryType(177); // PM 419 cPitcairn = CountryType(178); // PN 420 cPuertoRico = CountryType(179); // PR 421 cPortugal = CountryType(180); // PT 422 cPalau = CountryType(181); // PW 423 cParaguay = CountryType(182); // PY 424 cQatar = CountryType(183); // QA 425 cReunion = CountryType(184); // RE 426 cRomania = CountryType(185); // RO 427 cRussianFederation = CountryType(186); // RU 428 cRwanda = CountryType(187); // RW 429 cSaudiArabia = CountryType(188); // SA 430 cSolomonIslands = CountryType(189); // SB 431 cSeychelles = CountryType(190); // SC 432 cSudan = CountryType(191); // SD 433 cStHelena = CountryType(192); // SH 434 cSlovenia = CountryType(193); // SI 435 cSvalbardAndJanMayenIslands = CountryType(194); // SJ 436 cSlovakia = CountryType(195); // SK 437 cSierraLeone = CountryType(196); // SL 438 cSanMarino = CountryType(197); // SM 439 cSenegal = CountryType(198); // SN 440 cSomalia = CountryType(199); // SO 441 cSuriname = CountryType(200); // SR 442 cSaoTomeAndPrincipe = CountryType(201); // ST 443 cElSalvador = CountryType(202); // SV 444 cSyranArabRepublic = CountryType(203); // SY 445 cSwaziland = CountryType(204); // SZ 446 cTurksAndCaicosIslands = CountryType(205); // TC 447 cChad = CountryType(206); // TD 448 cFrenchSouthernTerritories = CountryType(207); // TF 449 cTogo = CountryType(208); // TG 450 cTajikistan = CountryType(209); // TJ 451 cTokelau = CountryType(210); // TK 452 cTurkmenistan = CountryType(211); // TM 453 cTunisia = CountryType(212); // TN 454 cTonga = CountryType(213); // TO 455 cEastTimor = CountryType(214); // TP 456 cTurkey = CountryType(215); // TR 457 cTrinidadAndTobago = CountryType(216); // TT 458 cTuvalu = CountryType(217); // TV 459 cTanzania = CountryType(218); // TZ 460 cUkraine = CountryType(219); // UA 461 cUganda = CountryType(220); // UG 462 cUnitedStatesMinorOutlyingIslands = CountryType(221); // UM 463 cUruguay = CountryType(222); // UY 464 cUzbekistan = CountryType(223); // UZ 465 cHolySee = CountryType(224); // VA 466 cStVincentAndTheGrenadines = CountryType(225); // VC 467 cVenezuela = CountryType(226); // VE 468 cBritishVirginIslands = CountryType(227); // VG 469 cUSVirginIslands = CountryType(228); // VI 470 cVietNam = CountryType(229); // VN 471 cVanuatu = CountryType(230); // VU 472 cWallisAndFutunaIslands = CountryType(231); // WF 473 cSamoa = CountryType(232); // WS 474 cYemen = CountryType(233); // YE 475 cMayotte = CountryType(234); // YT 476 cYugoslavia = CountryType(235); // YU 477 cSouthAfrica = CountryType(236); // ZA 478 cZambia = CountryType(237); // ZM 479 cZimbabwe = CountryType(238); // ZW 480 481(* Various character encodings supported by the PalmOS. Actually these 482are a mixture of character sets (repetoires or coded character sets 483in Internet lingo) and character encodings (CES - character encoding 484standard). Many, however, are some of both (e.g. CP932 is the Shift-JIS 485encoding of the JIS character set + Microsoft's extensions). 486 487The following character set values are used by: 488 a) Palm devices 489 b) Palm wireless servers 490 491WARNING! Be aware that a device supporting a new character set 492 will require some character set definition and maybe 493 some development on the wireless server side. 494*) 495 496// Unknown to this version of PalmOS. 497 charEncodingUnknown = CharEncodingType(0); 498 499// Maximum character encoding _currently_ defined 500 charEncodingMax = CharEncodingType(77); 501 502// Latin Palm OS character encoding, and subsets. 503// PalmOS version of CP1252 504 charEncodingPalmLatin = CharEncodingType(3); 505// Windows variant of 8859-1 506 charEncodingCP1252 = CharEncodingType(7); 507// ISO 8859 Part 1 508 charEncodingISO8859_1 = CharEncodingType(2); 509// ISO 646-1991 510 charEncodingAscii = CharEncodingType(1); 511 512// Japanese Palm OS character encoding, and subsets. 513// PalmOS version of CP932 514 charEncodingPalmSJIS = CharEncodingType(5); 515// Windows variant of ShiftJIS 516 charEncodingCP932 = CharEncodingType(8); 517// Encoding for JIS 0208-1990 + 1-byte katakana 518 charEncodingShiftJIS = CharEncodingType(4); 519 520// Unicode character encodings 521 charEncodingUCS2 = CharEncodingType(9); 522 charEncodingUTF8 = CharEncodingType(6); 523 charEncodingUTF7 = CharEncodingType(24); 524 charEncodingUTF16 = CharEncodingType(75); 525 charEncodingUTF16BE = CharEncodingType(76); 526 charEncodingUTF16LE = CharEncodingType(77); 527 528// Latin character encodings 529 charEncodingCP850 = CharEncodingType(12); 530 charEncodingCP437 = CharEncodingType(13); 531 charEncodingCP865 = CharEncodingType(14); 532 charEncodingCP860 = CharEncodingType(15); 533 charEncodingCP861 = CharEncodingType(16); 534 charEncodingCP863 = CharEncodingType(17); 535 charEncodingCP775 = CharEncodingType(18); 536 charEncodingMacIslande = CharEncodingType(19); 537 charEncodingMacintosh = CharEncodingType(20); 538 charEncodingCP1257 = CharEncodingType(21); 539 charEncodingISO8859_3 = CharEncodingType(22); 540 charEncodingISO8859_4 = CharEncodingType(23); 541 542// Extended Latin character encodings 543 charEncodingISO8859_2 = CharEncodingType(26); 544 charEncodingCP1250 = CharEncodingType(27); 545 charEncodingCP852 = CharEncodingType(28); 546 charEncodingXKamenicky = CharEncodingType(29); 547 charEncodingMacXCroate = CharEncodingType(30); 548 charEncodingMacXLat2 = CharEncodingType(31); 549 charEncodingMacXRomania = CharEncodingType(32); 550 551// Japanese character encodings 552 charEncodingEucJp = CharEncodingType(25); 553 charEncodingISO2022Jp = CharEncodingType(10); 554 charEncodingXAutoJp = CharEncodingType(11); 555 556// Greek character encodings 557 charEncodingISO8859_7 = CharEncodingType(33); 558 charEncodingCP1253 = CharEncodingType(34); 559 charEncodingCP869 = CharEncodingType(35); 560 charEncodingCP737 = CharEncodingType(36); 561 charEncodingMacXGr = CharEncodingType(37); 562 563// Cyrillic character encodings 564 charEncodingCP1251 = CharEncodingType(38); 565 charEncodingISO8859_5 = CharEncodingType(39); 566 charEncodingKoi8R = CharEncodingType(40); 567 charEncodingKoi8 = CharEncodingType(41); 568 charEncodingCP855 = CharEncodingType(42); 569 charEncodingCP866 = CharEncodingType(43); 570 charEncodingMacCyr = CharEncodingType(44); 571 charEncodingMacUkraine = CharEncodingType(45); 572 573// Turkish character encodings 574 charEncodingCP1254 = CharEncodingType(46); 575 charEncodingISO8859_9 = CharEncodingType(47); 576 charEncodingCP857 = CharEncodingType(48); 577 charEncodingMacTurc = CharEncodingType(49); 578 charEncodingCP853 = CharEncodingType(50); 579 580// Arabic character encodings 581 charEncodingISO8859_6 = CharEncodingType(51); 582 charEncodingAsmo708 = CharEncodingType(52); 583 charEncodingCP1256 = CharEncodingType(53); 584 charEncodingCP864 = CharEncodingType(54); 585 charEncodingAsmo708Plus = CharEncodingType(55); 586 charEncodingAsmo708Fr = CharEncodingType(56); 587 charEncodingMacAra = CharEncodingType(57); 588 589// Chinese character encodings 590 charEncodingGB2312 = CharEncodingType(58); 591 charEncodingHZ = CharEncodingType(59); 592 charEncodingBig5 = CharEncodingType(60); 593 594// Vietnamese character encodings 595 charEncodingViscii = CharEncodingType(61); 596 charEncodingViqr = CharEncodingType(62); 597 charEncodingVncii = CharEncodingType(63); 598 charEncodingVietnet = CharEncodingType(65); 599 charEncodingCP1258 = CharEncodingType(66); 600 601// Korean character encodings 602 charEncodingKsc5601 = CharEncodingType(67); 603 charEncodingCP949 = CharEncodingType(68); 604 charEncodingISO2022Kr = CharEncodingType(69); 605 606// Hebrew character encodings 607 charEncodingISO8859_8I = CharEncodingType(70); 608 charEncodingISO8859_8 = CharEncodingType(71); 609 charEncodingCP1255 = CharEncodingType(72); 610 charEncodingCP1255V = CharEncodingType(73); 611 612// Thai character encodings 613 charEncodingTis620 = CharEncodingType(74); 614 charEncodingCP874 = CharEncodingType(64); 615 616implementation 617 618end.