• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef CORE_FXCRT_FX_CODEPAGE_H_
8 #define CORE_FXCRT_FX_CODEPAGE_H_
9 
10 #define FX_CODEPAGE_DefANSI 0
11 #define FX_CODEPAGE_Symbol 42
12 #define FX_CODEPAGE_MSDOS_US 437
13 #define FX_CODEPAGE_Arabic_ASMO708 708
14 #define FX_CODEPAGE_MSDOS_Greek1 737
15 #define FX_CODEPAGE_MSDOS_Baltic 775
16 #define FX_CODEPAGE_MSDOS_WesternEuropean 850
17 #define FX_CODEPAGE_MSDOS_EasternEuropean 852
18 #define FX_CODEPAGE_MSDOS_Cyrillic 855
19 #define FX_CODEPAGE_MSDOS_Turkish 857
20 #define FX_CODEPAGE_MSDOS_Portuguese 860
21 #define FX_CODEPAGE_MSDOS_Icelandic 861
22 #define FX_CODEPAGE_MSDOS_Hebrew 862
23 #define FX_CODEPAGE_MSDOS_FrenchCanadian 863
24 #define FX_CODEPAGE_MSDOS_Arabic 864
25 #define FX_CODEPAGE_MSDOS_Norwegian 865
26 #define FX_CODEPAGE_MSDOS_Russian 866
27 #define FX_CODEPAGE_MSDOS_Greek2 869
28 #define FX_CODEPAGE_MSDOS_Thai 874
29 #define FX_CODEPAGE_ShiftJIS 932
30 #define FX_CODEPAGE_ChineseSimplified 936
31 #define FX_CODEPAGE_Hangul 949
32 #define FX_CODEPAGE_ChineseTraditional 950
33 #define FX_CODEPAGE_UTF16LE 1200
34 #define FX_CODEPAGE_UTF16BE 1201
35 #define FX_CODEPAGE_MSWin_EasternEuropean 1250
36 #define FX_CODEPAGE_MSWin_Cyrillic 1251
37 #define FX_CODEPAGE_MSWin_WesternEuropean 1252
38 #define FX_CODEPAGE_MSWin_Greek 1253
39 #define FX_CODEPAGE_MSWin_Turkish 1254
40 #define FX_CODEPAGE_MSWin_Hebrew 1255
41 #define FX_CODEPAGE_MSWin_Arabic 1256
42 #define FX_CODEPAGE_MSWin_Baltic 1257
43 #define FX_CODEPAGE_MSWin_Vietnamese 1258
44 #define FX_CODEPAGE_Johab 1361
45 #define FX_CODEPAGE_MAC_Roman 10000
46 #define FX_CODEPAGE_MAC_ShiftJIS 10001
47 #define FX_CODEPAGE_MAC_ChineseTraditional 10002
48 #define FX_CODEPAGE_MAC_Korean 10003
49 #define FX_CODEPAGE_MAC_Arabic 10004
50 #define FX_CODEPAGE_MAC_Hebrew 10005
51 #define FX_CODEPAGE_MAC_Greek 10006
52 #define FX_CODEPAGE_MAC_Cyrillic 10007
53 #define FX_CODEPAGE_MAC_ChineseSimplified 10008
54 #define FX_CODEPAGE_MAC_Thai 10021
55 #define FX_CODEPAGE_MAC_EasternEuropean 10029
56 #define FX_CODEPAGE_MAC_Turkish 10081
57 #define FX_CODEPAGE_UTF8 65001
58 
59 #define FX_CHARSET_ANSI 0
60 #define FX_CHARSET_Default 1
61 #define FX_CHARSET_Symbol 2
62 #define FX_CHARSET_MAC_Roman 77
63 #define FX_CHARSET_MAC_ShiftJIS 78
64 #define FX_CHARSET_MAC_Korean 79
65 #define FX_CHARSET_MAC_ChineseSimplified 80
66 #define FX_CHARSET_MAC_ChineseTraditional 81
67 #define FX_CHARSET_MAC_Hebrew 83
68 #define FX_CHARSET_MAC_Arabic 84
69 #define FX_CHARSET_MAC_Greek 85
70 #define FX_CHARSET_MAC_Turkish 86
71 #define FX_CHARSET_MAC_Thai 87
72 #define FX_CHARSET_MAC_EasternEuropean 88
73 #define FX_CHARSET_MAC_Cyrillic 89
74 #define FX_CHARSET_ShiftJIS 128
75 #define FX_CHARSET_Hangul 129
76 #define FX_CHARSET_Johab 130
77 #define FX_CHARSET_ChineseSimplified 134
78 #define FX_CHARSET_ChineseTraditional 136
79 #define FX_CHARSET_MSWin_Greek 161
80 #define FX_CHARSET_MSWin_Turkish 162
81 #define FX_CHARSET_MSWin_Vietnamese 163
82 #define FX_CHARSET_MSWin_Hebrew 177
83 #define FX_CHARSET_MSWin_Arabic 178
84 #define FX_CHARSET_MSWin_Baltic 186
85 #define FX_CHARSET_MSWin_Cyrillic 204
86 #define FX_CHARSET_Thai 222
87 #define FX_CHARSET_MSWin_EasternEuropean 238
88 #define FX_CHARSET_US 254
89 #define FX_CHARSET_OEM 255
90 
91 #endif  // CORE_FXCRT_FX_CODEPAGE_H_
92