PageRenderTime 17ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Sources/charsets.pas

http://github.com/Nashev/OracleOutsideIn4Delphi
Pascal | 224 lines | 97 code | 17 blank | 110 comment | 0 complexity | c24c9f6172bf2146671eff876a7fa88e MD5 | raw file
  1
  2unit charsets;
  3interface
  4uses vtchars;
  5{
  6  Automatically converted by H2Pas 1.0.0 from D:\work\FPC\ooi\charsets.tmp.h
  7  The following command line parameters were used:
  8    -e
  9    -p
 10    -D
 11    -v
 12    -w
 13    -o
 14  And handmade update after it.
 15}
 16
 17  const
 18    External_library='kernel32'; {Setup as you need}
 19
 20  { Pointers to basic pascal types, inserted by h2pas conversion program.}
 21  
 22
 23
 24
 25
 26
 27
 28{$IFDEF FPC}
 29{$PACKRECORDS C}
 30{$ENDIF}
 31
 32
 33  { Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.  }
 34  {
 35  | Outside In Viewer Technology - Include
 36  |
 37  | Include:       CHARSETS.H
 38  | Environment:   Portable
 39  | Function:      Default input character sets for
 40  |                Outside In Technology
 41   }
 42{$ifndef _CHARSETS_H}
 43
 44  { System Default  }
 45
 46  const
 47     CS_SYSTEMDEFAULT = 0;     
 48  { Unicode (UCS-2)                                    0x14B00000  }
 49     CS_UNICODE = SO_UNICODE;     
 50  { big-endian UCS-2 (same effect as SO_UNICODE)       0x14B00001  }
 51     CS_BIGENDIAN_UNICODE = SO_BIGENDIAN_UNICODE;     
 52  { little-endian UCS-2                                0x14B00002  }
 53     CS_LITTLEENDIAN_UNICODE = SO_LITTLEENDIAN_UNICODE;     
 54  { UTF-8 Encoded Unicode                              0x000B000B  }
 55     CS_UTF8 = SO_UTF8;     
 56  { UTF-7 Encoded Unicode                              0x000B000C  }
 57     CS_UTF7 = SO_UTF7;     
 58  { ASCII (7-bit)                                      0x10000100  }
 59     CS_ASCII = SO_ASCII;     
 60  { UNIX character sets  }
 61  { Japanese (JIS)                                     0x0F0C0000  }
 62     CS_UNIX_JAPANESE = SO_JIS;     
 63  { Japanese (EUC)                                     0x0F0D0000  }
 64     CS_UNIX_JAPANESE_EUC = SO_EUC_JP;     
 65  { Chinese Traditional, Plane 1                       0x0F030000  }
 66     CS_UNIX_CHINESE_TRAD1 = SO_CNS11643_1;     
 67  { Chinese Traditional EUC, Plane 1                   0x0F070000  }
 68     CS_UNIX_CHINESE_EUC_TRAD1 = SO_EUC_CNS_1;     
 69  { Chinese Traditional, Plane 2                       0x0F040000  }
 70     CS_UNIX_CHINESE_TRAD2 = SO_CNS11643_2;     
 71  { Chinese Traditional EUC, Plane 2                   0x0F080000  }
 72     CS_UNIX_CHINESE_EUC_TRAD2 = SO_EUC_CNS_2;     
 73  { Korean Standard                                    0x0F060000  }
 74     CS_UNIX_KOREAN = SO_KSC1987;     
 75  { Simplified Chinese                                 0x0F050000  }
 76     CS_UNIX_CHINESE_SIMPLE = SO_GB2312;     
 77  { EBCDIC Code Page 37 (United States)                0x40250100  }
 78     CS_EBCDIC_37 = SO_EBCDIC37;     
 79  { EBCDIC Code Page 273 (Germany)                     0x41110100  }
 80     CS_EBCDIC_273 = SO_EBCDIC273;     
 81  { EBCDIC Code Page 274 (Belgium)                     0x41120100  }
 82     CS_EBCDIC_274 = SO_EBCDIC274;     
 83  { EBCDIC Code Page 277 (Denmark, Norway)             0x41150100 }
 84     CS_EBCDIC_277 = SO_EBCDIC277;     
 85  { EBCDIC Code Page 278 (Finland, Sweden)             0x41160100  }
 86     CS_EBCDIC_278 = SO_EBCDIC278;     
 87  { EBCDIC Code Page 280 (Italy)                       0x41180100  }
 88     CS_EBCDIC_280 = SO_EBCDIC280;     
 89  { EBCDIC Code Page 282 (Portugal)                    0x411A0100  }
 90     CS_EBCDIC_282 = SO_EBCDIC282;     
 91  { EBCDIC Code Page 284 (Latin America, Spain)        0x411C0100  }
 92     CS_EBCDIC_284 = SO_EBCDIC284;     
 93  { EBCDIC Code Page 285 (Ireland, UK)                 0x411D0100  }
 94     CS_EBCDIC_285 = SO_EBCDIC285;     
 95  { EBCDIC Code Page 297 (France)                      0x41290100  }
 96     CS_EBCDIC_297 = SO_EBCDIC297;     
 97  { EBCDIC Code Page 500 (International)               0x41F40100  }
 98     CS_EBCDIC_500 = SO_EBCDIC500;     
 99  { EBCDIC Code Page 1026 (Turkey)                     0x44020100  }
100     CS_EBCDIC_1026 = SO_EBCDIC1026;     
101  { DOS Code Page 437 (United States)                  0x11B50100  }
102     CS_DOS_437 = SO_ANSI437;     
103  { DOS Code Page 737 (Greek)                          0x12E10100  }
104     CS_DOS_737 = SO_ANSI737;     
105  { DOS Code Page 850 (Multilingual Latin I)           0x13520100  }
106     CS_DOS_850 = SO_ANSI850;     
107  { DOS Code Page 852 (Latin II)                       0x13540100  }
108     CS_DOS_852 = SO_ANSI852;     
109  { DOS Code Page 855 (Cyrillic)                       0x13570100  }
110     CS_DOS_855 = SO_ANSI855;     
111  { DOS Code Page 857 (Turkish)                        0x13590100  }
112     CS_DOS_857 = SO_ANSI857;     
113  { DOS Code Page 860 (Portugese)                      0x135C0100  }
114     CS_DOS_860 = SO_ANSI860;     
115  { DOS Code Page 861 (Icelandic)                      0x135D0100  }
116     CS_DOS_861 = SO_ANSI861;     
117  { DOS Code Page 863 (French)                         0x135F0100  }
118     CS_DOS_863 = SO_ANSI863;     
119  { DOS Code Page 865 (Danish, Norweigian)             0x13610100  }
120     CS_DOS_865 = SO_ANSI865;     
121  { DOS Code Page 866 (Russian)                        0x13620100  }
122     CS_DOS_866 = SO_ANSI866;     
123  { DOS Code Page 869 (Greek)                          0x13650100  }
124     CS_DOS_869 = SO_ANSI869;     
125  { Windows Code Page 874 (Thai)                       0x136A0100  }
126     CS_WINDOWS_874 = SO_ANSI874;     
127  { Windows Code Page 932 (Japanese Shift-JIS)         0x13A40000  }
128     CS_WINDOWS_932 = SO_ANSI932;     
129  { Windows Code Page 936 (Simplified Chinese GBK)     0x13A80000  }
130     CS_WINDOWS_936 = SO_ANSI936;     
131  { Windows Code Page 949 (Korean)                     0x13B50000  }
132     CS_WINDOWS_949 = SO_ANSI949;     
133  { Windows Code Page 950 (Traditional Chinese Big 5)  0x13B60000  }
134     CS_WINDOWS_950 = SO_ANSI950;     
135  { Windows Code Page 1250 (Central Europe)            0x14E20100  }
136     CS_WINDOWS_1250 = SO_ANSI1250;     
137  { Windows Code Page 1251 (Cyrillic)                  0x14E30100  }
138     CS_WINDOWS_1251 = SO_ANSI1251;     
139  { Windows Code Page 1252 (Latin I)                   0x14E40100  }
140     CS_WINDOWS_1252 = SO_ANSI1252;     
141  { Windows Code Page 1253 (Greek)                     0x14E50100  }
142     CS_WINDOWS_1253 = SO_ANSI1253;     
143  { Windows Code Page 1254 (Turkish)                   0x14E60100  }
144     CS_WINDOWS_1254 = SO_ANSI1254;     
145  { Windows Code Page 1255 (Hebrew)                    0x14E70100  }
146     CS_WINDOWS_1255 = SO_ANSI1255;     
147  { Windows Code Page 1256 (Arabic)                    0x14E80100  }
148     CS_WINDOWS_1256 = SO_ANSI1256;     
149  { Windows Code Page 1257 (Baltic)                    0x14E90100  }
150     CS_WINDOWS_1257 = SO_ANSI1257;     
151  { ISO-8859-1 (Latin 1)                               0x00080101  }
152     CS_ISO8859_1 = SO_ISO8859_1;     
153  { ISO-8859-2 (Latin 2)                               0x00080102  }
154     CS_ISO8859_2 = SO_ISO8859_2;     
155  { ISO-8859-3 (Latin 3)                               0x00080103  }
156     CS_ISO8859_3 = SO_ISO8859_3;     
157  { ISO-8859-4 (Baltic)                                0x00080104  }
158     CS_ISO8859_4 = SO_ISO8859_4;     
159  { ISO-8859-5 (Cyrillic)                              0x00080105  }
160     CS_ISO8859_5 = SO_ISO8859_5;     
161  { ISO-8859-6 (Arabic)                                0x00080106  }
162     CS_ISO8859_6 = SO_ISO8859_6;     
163  { ISO-8859-7 (Greek)                                 0x00080107  }
164     CS_ISO8859_7 = SO_ISO8859_7;     
165  { ISO-8859-8 (Hebrew)                                0x00080108  }
166     CS_ISO8859_8 = SO_ISO8859_8;     
167  { ISO-8859-9 (Turkish)                               0x00080109  }
168     CS_ISO8859_9 = SO_ISO8859_9;     
169  { ISO-8859-11 (Part 11: Latin/Thai alphabet)         0x0008010B  }
170     CS_ISO8859_11 = SO_ISO8859_11;     
171  { ISO-8859-13 (Latin-7)                              0x0008010D  }
172     CS_ISO8859_13 = SO_ISO8859_13;     
173  { ISO-8859-15 (Latin-9)                              0x0008010F  }
174     CS_ISO8859_15 = SO_ISO8859_15;     
175  { Mac OS Roman                                       0x80000100  }
176     CS_MAC_ROMAN = SO_MACROMAN;     
177  { Mac OS Croatian                                    0x80010100  }
178     CS_MAC_CROATIAN = SO_MACROMANCROATIAN;     
179  { Mac OS Romanian                                    0x80020100  }
180     CS_MAC_ROMANIAN = SO_MACROMANROMANIAN;     
181  { Mac OS Turkish                                     0x80030100  }
182     CS_MAC_TURKISH = SO_MACROMANTURKISH;     
183  { Mac OS Icelandic                                   0x80040100  }
184     CS_MAC_ICELANDIC = SO_MACROMANICELANDIC;     
185  { Mac OS Cyrillic                                    0x80050100  }
186     CS_MAC_CYRILLIC = SO_MACCYRILLIC;     
187  { Mac OS Greek                                       0x80060100  }
188     CS_MAC_GREEK = SO_MACGREEK;     
189  { Mac OS Central European                            0x80070100  }
190     CS_MAC_CE = SO_MACLATIN2;     
191  { Mac OS Hebrew                                      0x80090100  }
192     CS_MAC_HEBREW = SO_HEBREW;     
193  { Mac OS Arabic                                      0x800A0100  }
194     CS_MAC_ARABIC = SO_ARABIC;     
195  { Mac OS Japanese                                    0x800B0000  }
196     CS_MAC_JAPANESE = SO_MACJIS;     
197  { HP Roman-8                                         0x201A0100  }
198     CS_HPROMAN8 = SO_HPROMAN8;     
199  { Bidirectional Hebrew (Old Code)                    0x000C0101  }
200     CS_BIDI_OLDCODE = SO_BIDI_OLDCODE;     
201  { Bidirectional PC-8                                 0x000C0102  }
202     CS_BIDI_PC8 = SO_BIDI_PC8;     
203  { Bidirectional E0                                   0x000C0103  }
204     CS_BIDI_E0 = SO_BIDI_E0;     
205  { Russian KOI8-R                                     0x000A0101  }
206     CS_RUSSIAN_KOI8 = SO_HTMLKOI8;     
207  { Japanese (JIS X 0201)                              0x000A0102  }
208     CS_JAPANESE_X0201 = SO_JIS_ROMAN;     
209  { 8.2 defines, for backwards compatibility  }
210     CS_JAPANESE = CS_UNIX_JAPANESE;     
211     CS_JAPANESE_EUC = CS_UNIX_JAPANESE_EUC;     
212     CS_CHINESE_TRAD1 = CS_UNIX_CHINESE_TRAD1;     
213     CS_CHINESE_EUC_TRAD1 = CS_UNIX_CHINESE_EUC_TRAD1;     
214     CS_CHINESE_TRAD2 = CS_UNIX_CHINESE_TRAD2;     
215     CS_CHINESE_EUC_TRAD2 = CS_UNIX_CHINESE_EUC_TRAD2;     
216     CS_KOREAN = CS_UNIX_KOREAN;     
217     CS_CHINESE_SIMPLE = CS_UNIX_CHINESE_SIMPLE;     
218{$endif}
219  { _CHARSETS_H  }
220
221implementation
222
223
224end.