2
|
1 |
#
|
|
2 |
# Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.
|
|
3 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 |
#
|
|
5 |
# This code is free software; you can redistribute it and/or modify it
|
|
6 |
# under the terms of the GNU General Public License version 2 only, as
|
|
7 |
# published by the Free Software Foundation. Sun designates this
|
|
8 |
# particular file as subject to the "Classpath" exception as provided
|
|
9 |
# by Sun in the LICENSE file that accompanied this code.
|
|
10 |
#
|
|
11 |
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
12 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 |
# version 2 for more details (a copy is included in the LICENSE file that
|
|
15 |
# accompanied this code).
|
|
16 |
#
|
|
17 |
# You should have received a copy of the GNU General Public License version
|
|
18 |
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
19 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
20 |
#
|
|
21 |
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
22 |
# CA 95054 USA or visit www.sun.com if you need additional information or
|
|
23 |
# have any questions.
|
|
24 |
#
|
|
25 |
|
|
26 |
# Standard charsets provided by StandardCharsets provider.
|
|
27 |
#
|
|
28 |
# Note that these "standard" charsets listed here are not
|
|
29 |
# necessary to be the "Standard charsets" defined in the
|
|
30 |
# specification of java.nio.charset.Charset. Instead these
|
|
31 |
# are the charsets that this implementation believes should
|
|
32 |
# be packaged into the charsets provider class "StandardCharsets"
|
|
33 |
# which is initialized at startup time by java.nio.charset.Charset,
|
|
34 |
# compared to the charsets packaged in "ExtendedCharsets" provider,
|
|
35 |
# which is lazy initialized.
|
|
36 |
|
|
37 |
# This year should only change if the generated source is modified.
|
|
38 |
copyright 2000
|
|
39 |
package sun.nio.cs
|
|
40 |
class StandardCharsets
|
|
41 |
|
|
42 |
charset US-ASCII US_ASCII
|
|
43 |
|
|
44 |
# IANA aliases
|
|
45 |
alias iso-ir-6
|
|
46 |
alias ANSI_X3.4-1986
|
|
47 |
alias ISO_646.irv:1991
|
|
48 |
alias ASCII
|
|
49 |
alias ISO646-US
|
|
50 |
alias us
|
|
51 |
alias IBM367
|
|
52 |
alias cp367
|
|
53 |
alias csASCII
|
|
54 |
alias default
|
|
55 |
|
|
56 |
# Other aliases
|
|
57 |
alias 646 # Solaris POSIX locale
|
|
58 |
alias iso_646.irv:1983
|
|
59 |
alias ANSI_X3.4-1968 # Linux POSIX locale (RedHat)
|
|
60 |
alias ascii7
|
|
61 |
|
|
62 |
charset UTF-8 UTF_8
|
|
63 |
alias UTF8 # JDK historical
|
|
64 |
alias unicode-1-1-utf-8
|
|
65 |
|
|
66 |
charset UTF-16 UTF_16
|
|
67 |
alias UTF_16 # JDK historical
|
|
68 |
alias utf16
|
|
69 |
alias unicode
|
|
70 |
alias UnicodeBig
|
|
71 |
|
|
72 |
charset UTF-16BE UTF_16BE
|
|
73 |
alias UTF_16BE
|
|
74 |
alias ISO-10646-UCS-2
|
|
75 |
alias X-UTF-16BE
|
|
76 |
alias UnicodeBigUnmarked
|
|
77 |
|
|
78 |
charset UTF-16LE UTF_16LE
|
|
79 |
alias UTF_16LE
|
|
80 |
alias X-UTF-16LE
|
|
81 |
alias UnicodeLittleUnmarked
|
|
82 |
|
|
83 |
charset x-UTF-16LE-BOM UTF_16LE_BOM
|
|
84 |
alias UnicodeLittle
|
|
85 |
|
|
86 |
charset UTF-32 UTF_32
|
|
87 |
alias UTF_32
|
|
88 |
alias UTF32
|
|
89 |
|
|
90 |
charset UTF-32LE UTF_32LE
|
|
91 |
alias UTF_32LE
|
|
92 |
alias X-UTF-32LE
|
|
93 |
|
|
94 |
charset UTF-32BE UTF_32BE
|
|
95 |
alias UTF_32BE
|
|
96 |
alias X-UTF-32BE
|
|
97 |
|
|
98 |
charset X-UTF-32LE-BOM UTF_32LE_BOM
|
|
99 |
alias UTF_32LE_BOM
|
|
100 |
alias UTF-32LE-BOM
|
|
101 |
|
|
102 |
charset X-UTF-32BE-BOM UTF_32BE_BOM
|
|
103 |
alias UTF_32BE_BOM
|
|
104 |
alias UTF-32BE-BOM
|
|
105 |
|
|
106 |
charset ISO-8859-1 ISO_8859_1
|
|
107 |
|
|
108 |
# IANA aliases
|
|
109 |
alias iso-ir-100
|
|
110 |
alias ISO_8859-1
|
|
111 |
alias latin1
|
|
112 |
alias l1
|
|
113 |
alias IBM819
|
|
114 |
alias cp819
|
|
115 |
alias csISOLatin1
|
|
116 |
|
|
117 |
# Other aliases
|
|
118 |
alias 819
|
|
119 |
alias IBM-819
|
|
120 |
alias ISO8859_1
|
|
121 |
alias ISO_8859-1:1987
|
|
122 |
alias ISO_8859_1
|
|
123 |
alias 8859_1
|
|
124 |
alias ISO8859-1
|
|
125 |
|
|
126 |
charset ISO-8859-2 ISO_8859_2
|
|
127 |
alias iso8859_2 # JDK historical
|
|
128 |
alias 8859_2
|
|
129 |
alias iso-ir-101
|
|
130 |
alias ISO_8859-2
|
|
131 |
alias ISO_8859-2:1987
|
|
132 |
alias ISO8859-2
|
|
133 |
alias latin2
|
|
134 |
alias l2
|
|
135 |
alias ibm912
|
|
136 |
alias ibm-912
|
|
137 |
alias cp912
|
|
138 |
alias 912
|
|
139 |
alias csISOLatin2
|
|
140 |
|
|
141 |
charset ISO-8859-4 ISO_8859_4
|
|
142 |
alias iso8859_4 # JDK historical
|
|
143 |
alias iso8859-4
|
|
144 |
alias 8859_4
|
|
145 |
alias iso-ir-110
|
|
146 |
alias ISO_8859-4
|
|
147 |
alias ISO_8859-4:1988
|
|
148 |
alias latin4
|
|
149 |
alias l4
|
|
150 |
alias ibm914
|
|
151 |
alias ibm-914
|
|
152 |
alias cp914
|
|
153 |
alias 914
|
|
154 |
alias csISOLatin4
|
|
155 |
|
|
156 |
charset ISO-8859-5 ISO_8859_5
|
|
157 |
alias iso8859_5 # JDK historical
|
|
158 |
alias 8859_5
|
|
159 |
alias iso-ir-144
|
|
160 |
alias ISO_8859-5
|
|
161 |
alias ISO_8859-5:1988
|
|
162 |
alias ISO8859-5
|
|
163 |
alias cyrillic
|
|
164 |
alias ibm915
|
|
165 |
alias ibm-915
|
|
166 |
alias cp915
|
|
167 |
alias 915
|
|
168 |
alias csISOLatinCyrillic
|
|
169 |
|
|
170 |
charset ISO-8859-7 ISO_8859_7
|
|
171 |
alias iso8859_7 # JDK historical
|
|
172 |
alias 8859_7
|
|
173 |
alias iso-ir-126
|
|
174 |
alias ISO_8859-7
|
|
175 |
alias ISO_8859-7:1987
|
|
176 |
alias ELOT_928
|
|
177 |
alias ECMA-118
|
|
178 |
alias greek
|
|
179 |
alias greek8
|
|
180 |
alias csISOLatinGreek
|
|
181 |
alias sun_eu_greek # Solaris 7/8 compatibility
|
|
182 |
alias ibm813
|
|
183 |
alias ibm-813
|
|
184 |
alias 813
|
|
185 |
alias cp813
|
|
186 |
alias iso8859-7 # Solaris 9 compatibility
|
|
187 |
|
|
188 |
charset ISO-8859-9 ISO_8859_9
|
|
189 |
alias iso8859_9 # JDK historical
|
|
190 |
alias 8859_9
|
|
191 |
alias iso-ir-148
|
|
192 |
alias ISO_8859-9
|
|
193 |
alias ISO_8859-9:1989
|
|
194 |
alias ISO8859-9
|
|
195 |
alias latin5
|
|
196 |
alias l5
|
|
197 |
alias ibm920
|
|
198 |
alias ibm-920
|
|
199 |
alias 920
|
|
200 |
alias cp920
|
|
201 |
alias csISOLatin5
|
|
202 |
|
|
203 |
charset ISO-8859-13 ISO_8859_13
|
|
204 |
alias iso8859_13 # JDK historical
|
|
205 |
alias 8859_13
|
|
206 |
alias iso_8859-13
|
|
207 |
alias ISO8859-13
|
|
208 |
|
|
209 |
charset ISO-8859-15 ISO_8859_15
|
|
210 |
|
|
211 |
# IANA alias
|
|
212 |
alias ISO_8859-15
|
|
213 |
|
|
214 |
# Other aliases
|
|
215 |
alias 8859_15
|
|
216 |
alias ISO-8859-15
|
|
217 |
alias ISO8859_15
|
|
218 |
alias ISO8859-15
|
|
219 |
alias IBM923
|
|
220 |
alias IBM-923
|
|
221 |
alias cp923
|
|
222 |
alias 923
|
|
223 |
alias LATIN0
|
|
224 |
alias LATIN9
|
|
225 |
alias L9
|
|
226 |
alias csISOlatin0
|
|
227 |
alias csISOlatin9
|
|
228 |
alias ISO8859_15_FDIS
|
|
229 |
|
|
230 |
charset KOI8-R KOI8_R
|
|
231 |
alias koi8_r # JDK historical
|
|
232 |
alias koi8
|
|
233 |
alias cskoi8r
|
|
234 |
|
|
235 |
charset KOI8-U KOI8_U
|
|
236 |
alias koi8_u
|
|
237 |
|
|
238 |
charset windows-1250 MS1250
|
|
239 |
alias cp1250 # JDK historical
|
|
240 |
alias cp5346 # Euro IBM CCSID
|
|
241 |
|
|
242 |
charset windows-1251 MS1251
|
|
243 |
alias cp1251 # JDK historical
|
|
244 |
alias cp5347 # Euro IBM CCSID
|
|
245 |
alias ansi-1251 # Solaris compatibility
|
|
246 |
|
|
247 |
charset windows-1252 MS1252
|
|
248 |
alias cp1252 # JDK historical
|
|
249 |
alias cp5348 # Euro IBM CCSID
|
|
250 |
|
|
251 |
charset windows-1253 MS1253
|
|
252 |
alias cp1253 # JDK historical
|
|
253 |
alias cp5349 # Euro IBM CCSID
|
|
254 |
|
|
255 |
charset windows-1254 MS1254
|
|
256 |
alias cp1254 # JDK historical
|
|
257 |
alias cp5350 # Euro IBM CCSID
|
|
258 |
|
|
259 |
charset windows-1257 MS1257
|
|
260 |
alias cp1257 # JDK historical
|
|
261 |
alias cp5353 # Euro IBM CCSID
|
|
262 |
|
|
263 |
|
|
264 |
charset IBM437 IBM437
|
|
265 |
alias cp437 #JDK historical
|
|
266 |
alias ibm437
|
|
267 |
alias ibm-437
|
|
268 |
alias 437
|
|
269 |
alias cspc8codepage437
|
|
270 |
alias windows-437
|
|
271 |
|
|
272 |
charset x-IBM737 IBM737
|
|
273 |
alias cp737 #JDK historical
|
|
274 |
alias ibm737
|
|
275 |
alias ibm-737
|
|
276 |
alias 737
|
|
277 |
|
|
278 |
charset IBM775 IBM775
|
|
279 |
alias cp775 #JDK historical
|
|
280 |
alias ibm775
|
|
281 |
alias ibm-775
|
|
282 |
alias 775
|
|
283 |
|
|
284 |
charset IBM850 IBM850
|
|
285 |
alias cp850 #JDK historical
|
|
286 |
alias ibm-850
|
|
287 |
alias ibm850
|
|
288 |
alias 850
|
|
289 |
alias cspc850multilingual
|
|
290 |
|
|
291 |
charset IBM852 IBM852
|
|
292 |
alias cp852 #JDK historical
|
|
293 |
alias ibm852
|
|
294 |
alias ibm-852
|
|
295 |
alias 852
|
|
296 |
alias csPCp852
|
|
297 |
|
|
298 |
charset IBM855 IBM855
|
|
299 |
alias cp855 #JDK historical
|
|
300 |
alias ibm-855
|
|
301 |
alias ibm855
|
|
302 |
alias 855
|
|
303 |
alias cspcp855
|
|
304 |
|
|
305 |
charset IBM857 IBM857
|
|
306 |
alias cp857 #JDK historical
|
|
307 |
alias ibm857
|
|
308 |
alias ibm-857
|
|
309 |
alias 857
|
|
310 |
alias csIBM857
|
|
311 |
|
|
312 |
charset IBM00858 IBM858
|
|
313 |
alias cp858 #JDK historical
|
|
314 |
alias ccsid00858
|
|
315 |
alias cp00858
|
|
316 |
alias 858
|
|
317 |
|
|
318 |
charset IBM862 IBM862
|
|
319 |
alias cp862 #JDK historical
|
|
320 |
alias ibm862
|
|
321 |
alias ibm-862
|
|
322 |
alias 862
|
|
323 |
alias csIBM862
|
|
324 |
alias cspc862latinhebrew
|
|
325 |
|
|
326 |
charset IBM866 IBM866
|
|
327 |
alias cp866 #JDK historical
|
|
328 |
alias ibm866
|
|
329 |
alias ibm-866
|
|
330 |
alias 866
|
|
331 |
alias csIBM866
|
|
332 |
|
|
333 |
charset x-IBM874 IBM874
|
|
334 |
alias cp874 #JDK historical
|
|
335 |
alias ibm874
|
|
336 |
alias ibm-874
|
|
337 |
alias 874
|