Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) Microsoft Corporation, 1994-1996
  4. //
  5. // File: codepage.h
  6. //
  7. // Contents: Codepage definitions
  8. //
  9. //----------------------------------------------------------------------------
  10. #ifndef _CODEPAGE_H_
  11. #define _CODEPAGE_H_
  12. /*
  13. * Code Page Default Values.
  14. */
  15. enum CODEPAGE
  16. {
  17. CP_UNDEFINED = -1L,
  18. CP_DEFAULT = CP_ACP,
  19. CP_US_OEM = 437L,
  20. CP_852 = 852L,
  21. CP_THAI = 874L,
  22. CP_JPN_SJ = 932L,
  23. CP_CHN_GB = 936L,
  24. CP_KOR_5601 = 949L,
  25. CP_KOR_JOHAB = 1361L,
  26. CP_TWN = 950L,
  27. CP_UCS_2 = 1200L,
  28. CP_UCS_2_BE = 1201L,
  29. CP_1250 = 1250L,
  30. CP_1251 = 1251L,
  31. CP_1252 = 1252L,
  32. CP_1253 = 1253L,
  33. CP_1254 = 1254L,
  34. CP_1255 = 1255L,
  35. CP_1256 = 1256L,
  36. CP_1257 = 1257L,
  37. CP_1258 = 1258L,
  38. CP_20127 = 20127L,
  39. CP_KOI8R = 20866L,
  40. CP_KOI8RU = 21866L,
  41. CP_ISO_8859_1 = 28591L,
  42. CP_ISO_8859_2 = 28592L,
  43. CP_ISO_8859_3 = 28593L,
  44. CP_ISO_8859_9 = 28599L,
  45. CP_ISO_8859_15 = 28605L,
  46. CP_USER_DEFINED = 50000L,
  47. CP_AUTO = 50001L,
  48. CP_ISO_2022_JP = 50220L,
  49. CP_ISO_2022_JP_ESC = 50221L,
  50. CP_ISO_2022_JP_SIO = 50222L,
  51. CP_ISO_2022_KR = 50225L,
  52. CP_ISO_2022_TW = 50226L,
  53. CP_ISO_2022_CH = 50227L,
  54. CP_JP_AUTO = 50932L,
  55. CP_CHS_AUTO = 50936L,
  56. CP_KR_AUTO = 50949L,
  57. CP_CHT_AUTO = 50950L,
  58. CP_CYRILLIC_AUTO = 51251L,
  59. CP_GREEK_AUTO = 51253L,
  60. CP_ARABIC_AUTO = 51256L,
  61. CP_EUC_JP = 51932L,
  62. CP_EUC_CH = 51936L,
  63. CP_EUC_KR = 51949L,
  64. CP_EUC_TW = 51950L,
  65. CP_CHN_HZ = 52936L,
  66. CP_18030 = 54936L,
  67. CP_UTF_7 = 65000L,
  68. CP_UTF_8 = 65001L
  69. };
  70. enum CP_STATE
  71. {
  72. INVALID_CP = 0,
  73. VALID_CP = 1,
  74. };
  75. #endif