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.

82 lines
1.9 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_TWN = 950L,
  26. CP_UCS_2 = 1200L,
  27. CP_UCS_2_BE = 1201L,
  28. CP_1250 = 1250L,
  29. CP_1251 = 1251L,
  30. CP_1252 = 1252L,
  31. CP_1253 = 1253L,
  32. CP_1254 = 1254L,
  33. CP_1255 = 1255L,
  34. CP_1256 = 1256L,
  35. CP_1257 = 1257L,
  36. CP_1258 = 1258L,
  37. CP_20127 = 20127L,
  38. CP_KOI8R = 20866L,
  39. CP_KOI8RU = 21866L,
  40. CP_ISO_8859_1 = 28591L,
  41. CP_ISO_8859_2 = 28592L,
  42. CP_ISO_8859_3 = 28593L,
  43. CP_ISO_8859_9 = 28599L,
  44. CP_AUTO = 50001L,
  45. CP_ISO_2022_JP = 50220L,
  46. CP_ISO_2022_JP_ESC = 50221L,
  47. CP_ISO_2022_JP_SIO = 50222L,
  48. CP_ISO_2022_KR = 50225L,
  49. CP_ISO_2022_TW = 50226L,
  50. CP_ISO_2022_CH = 50227L,
  51. CP_JP_AUTO = 50932L,
  52. CP_CHS_AUTO = 50936L,
  53. CP_KR_AUTO = 50949L,
  54. CP_CHT_AUTO = 50950L,
  55. CP_CYRILLIC_AUTO = 51251L,
  56. CP_GREEK_AUTO = 51253L,
  57. CP_ARABIC_AUTO = 51256L,
  58. CP_EUC_JP = 51932L,
  59. CP_EUC_CH = 51936L,
  60. CP_EUC_KR = 51949L,
  61. CP_EUC_TW = 51950L,
  62. CP_CHN_HZ = 52936L,
  63. CP_UTF_7 = 65000L,
  64. CP_UTF_8 = 65001L
  65. };
  66. enum CP_STATE
  67. {
  68. INVALID_CP = 0,
  69. VALID_CP = 1,
  70. };
  71. #endif