doccodes.h 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #pragma once
  2. enum ECharset {
  3. CODES_UNSUPPORTED = -2, // valid but unsupported encoding
  4. CODES_UNKNOWN = -1, // invalid or unspecified encoding
  5. CODES_WIN, // [ 0] WINDOWS_1251 Windows
  6. CODES_KOI8, // [ 1] KOI8_U Koi8-u
  7. CODES_ALT, // [ 2] IBM_866 MS DOS, alternative
  8. CODES_MAC, // [ 3] MAC_CYRILLIC Macintosh
  9. CODES_MAIN, // [ 4] ISO_LATIN_CYRILLIC Main
  10. CODES_ASCII, // [ 5] WINDOWS_1252 Latin 1
  11. CODES_RESERVED_3, // reserved code: use it for new encodings before adding them to the end of the list
  12. CODES_WIN_EAST, // [ 7] WINDOWS_1250 WIN PL
  13. CODES_ISO_EAST, // [ 8] ISO_8859_2 ISO PL
  14. // our superset of subset of windows-1251
  15. CODES_YANDEX, // [ 9] YANDEX
  16. CODES_UTF_16BE, // [10] UTF_16BE
  17. CODES_UTF_16LE, // [11] UTF_16LE
  18. // missing standard codepages
  19. CODES_IBM855, // [12] IBM_855
  20. CODES_UTF8, // [13] UTF8
  21. CODES_UNKNOWNPLANE, // [14] Unrecognized characters are mapped into the PUA: U+F000..U+F0FF
  22. CODES_KAZWIN, // [15] WINDOWS_1251_K Kazakh version of Windows-1251
  23. CODES_TATWIN, // [16] WINDOWS_1251_T Tatarian version of Windows-1251
  24. CODES_ARMSCII, // [17] Armenian ASCII
  25. CODES_GEO_ITA, // [18] Academy of Sciences Georgian
  26. CODES_GEO_PS, // [19] Georgian Parliament
  27. CODES_ISO_8859_3, // [20] Latin-3: Turkish, Maltese and Esperanto
  28. CODES_ISO_8859_4, // [21] Latin-4: Estonian, Latvian, Lithuanian, Greenlandic, Sami
  29. CODES_ISO_8859_6, // [22] Latin/Arabic: Arabic
  30. CODES_ISO_8859_7, // [23] Latin/Greek: Greek
  31. CODES_ISO_8859_8, // [24] Latin/Hebrew: Hebrew
  32. CODES_ISO_8859_9, // [25] Latin-5 or Turkish: Turkish
  33. CODES_ISO_8859_13, // [26] Latin-7 or Baltic Rim: Baltic languages
  34. CODES_ISO_8859_15, // [27] Latin-9: Western European languages
  35. CODES_ISO_8859_16, // [28] Latin-10: South-Eastern European languages
  36. CODES_WINDOWS_1253, // [29] for Greek
  37. CODES_WINDOWS_1254, // [30] for Turkish
  38. CODES_WINDOWS_1255, // [31] for Hebrew
  39. CODES_WINDOWS_1256, // [32] for Arabic
  40. CODES_WINDOWS_1257, // [33] for Estonian, Latvian and Lithuanian
  41. // these codes are all the other 8bit codes known by libiconv
  42. // they follow in alphanumeric order
  43. CODES_CP1046,
  44. CODES_CP1124,
  45. CODES_CP1125,
  46. CODES_CP1129,
  47. CODES_CP1131,
  48. CODES_CP1133,
  49. CODES_CP1161, // [40]
  50. CODES_CP1162,
  51. CODES_CP1163,
  52. CODES_CP1258,
  53. CODES_CP437,
  54. CODES_CP737,
  55. CODES_CP775,
  56. CODES_CP850,
  57. CODES_CP852,
  58. CODES_CP853,
  59. CODES_CP856, // [50]
  60. CODES_CP857,
  61. CODES_CP858,
  62. CODES_CP860,
  63. CODES_CP861,
  64. CODES_CP862,
  65. CODES_CP863,
  66. CODES_CP864,
  67. CODES_CP865,
  68. CODES_CP869,
  69. CODES_CP874, // [60]
  70. CODES_CP922,
  71. CODES_HP_ROMAN8,
  72. CODES_ISO646_CN,
  73. CODES_ISO646_JP,
  74. CODES_ISO8859_10,
  75. CODES_ISO8859_11,
  76. CODES_ISO8859_14,
  77. CODES_JISX0201,
  78. CODES_KOI8_T,
  79. CODES_MAC_ARABIC, // [70]
  80. CODES_MAC_CENTRALEUROPE,
  81. CODES_MAC_CROATIAN,
  82. CODES_MAC_GREEK,
  83. CODES_MAC_HEBREW,
  84. CODES_MAC_ICELAND,
  85. CODES_MAC_ROMANIA,
  86. CODES_MAC_ROMAN,
  87. CODES_MAC_THAI,
  88. CODES_MAC_TURKISH,
  89. CODES_RESERVED_2, // [80] reserved code: use it for new encodings before adding them to the end of the list
  90. CODES_MULELAO,
  91. CODES_NEXTSTEP,
  92. CODES_PT154,
  93. CODES_RISCOS_LATIN1,
  94. CODES_RK1048,
  95. CODES_TCVN,
  96. CODES_TDS565,
  97. CODES_TIS620,
  98. CODES_VISCII,
  99. // libiconv multibyte codepages
  100. CODES_BIG5, // [90]
  101. CODES_BIG5_HKSCS,
  102. CODES_BIG5_HKSCS_1999,
  103. CODES_BIG5_HKSCS_2001,
  104. CODES_CP932,
  105. CODES_CP936,
  106. CODES_CP949,
  107. CODES_CP950,
  108. CODES_EUC_CN,
  109. CODES_EUC_JP,
  110. CODES_EUC_KR, // [100]
  111. CODES_EUC_TW,
  112. CODES_GB18030,
  113. CODES_GBK,
  114. CODES_HZ,
  115. CODES_ISO_2022_CN,
  116. CODES_ISO_2022_CN_EXT,
  117. CODES_ISO_2022_JP,
  118. CODES_ISO_2022_JP_1,
  119. CODES_ISO_2022_JP_2,
  120. CODES_ISO_2022_KR, // [110]
  121. CODES_JOHAB,
  122. CODES_SHIFT_JIS,
  123. CODES_MAX
  124. };