本文来自于oracle官方网站.......http://www.oracle.com/technetwork/products/express-edition/downloads/toc-090217.html
The locale setting of your Linux session affects how you should set your NLS_LANG
parameter. Table 4 lists the different Linux languages and their default locale IDs, together with the corresponding NLS_LANG
values.
Table 4 NLS_LANG Parameter Values for Linux Locales
Language | Locale ID | NLS_LANG |
---|---|---|
English (American) |
en_US.UTF-8 |
|
English (American) |
en_US.ISO-8859-1 |
|
English (American) |
en_US.ISO-8859-15 |
|
English (Australian) |
en_AU.UTF-8 |
|
English (Australian) |
en_AU.ISO-8859-1 |
|
English (Australian) |
en_AU.ISO-8859-15 |
|
English (British) |
en_GB.UTF-8 |
|
English (British) |
en_GB.ISO-8859-1 |
|
English (British) |
en_GB.ISO-8859-15 |
|
English (Ireland) |
en_IE.UTF-8 |
|
English (Ireland) |
en_IE.ISO-8859-1 |
|
English (Ireland) |
en_IE.ISO-8859-15 |
|
German |
de_DE.UTF-8 |
|
German |
de_DE.ISO-8859-1 |
|
German |
de_DE.ISO-8859-15 |
|
French |
fr_FR.UTF-8 |
|
French |
fr_FR.ISO-8859-1 |
|
French |
fr_FR.ISO-8859-15 |
|
Italian |
it_IT.UTF-8 |
|
Italian |
it_IT.ISO-8859-1 |
|
Italian |
it_IT.ISO-8859-15 |
|
Spanish |
es_ES.UTF-8 |
|
Spanish |
es_ES.ISO-8859-1 |
|
Spanish |
es_ES.ISO-8859-15 |
|
Spanish (Mexico) |
es_MX.UTF-8 |
|
Spanish (Mexico) |
es_MX.ISO-8859-1 |
|
Spanish (Mexico) |
es_MX.ISO-8859-15 |
|
Portuguese (Brazilian) |
pt_BR.UTF-8 |
|
Portuguese (Brazilian) |
pt_BR.ISO-8859-1 |
|
Portuguese (Brazilian) |
pt_BR.ISO-8859-15 |
|
Japanese |
ja_JP.EUC-JP |
|
Japanese |
ja_JP.UTF-8 |
|
Korean |
ko_KR.EUC-KR |
|
Korean |
ko_KR.UTF-8 |
|
Chinese (simplified) |
zh_CN.GB18030 |
|
Chinese (simplified) |
zh_CN.UTF-8 |
|
Chinese (traditional) |
zh_TW.BIG5 |
|
Chinese (traditional) |
zh_TW.UTF-8 |
|
Table 5 lists the supported character sets in Oracle Database XE. The list is ordered alphabetically in each language group.
The character set AL16UTF16
can be used only as an NCHAR
character set, and not as a database character set.
Table 5 Supported Character Sets
Name | Description |
---|---|
Asian |
|
|
EUC 24-bit Japanese |
|
The same as JA16EUC except for the way that the wave dash and the tilde are mapped to and from Unicode |
|
Shift-JIS 16-bit Japanese. The same as JA16SJISTILDE except for the way that the wave dash and the tilde are mapped to and from Unicode |
|
Microsoft Windows Code Page 932 Japanese |
|
KSC5601 16-bit Korean |
|
Microsoft Windows Code Page 949 Korean |
|
Thai Industrial Standard 620-2533 - ASCII 8-bit |
|
Microsoft Windows Code Page 1258 8-bit Vietnamese |
|
CGB2312-80 16-bit Simplified Chinese |
|
GBK 16-bit Simplified Chinese |
|
GB18030-2000 |
|
BIG5 16-bit Traditional Chinese |
|
Microsoft Windows Code Page 950 with Hong Kong Supplementary Character Set HKSCS-2001 (character set conversion to and from Unicode is based on Unicode 3.0) |
|
Microsoft Windows Code Page 950 Traditional Chinese |
|
EUC 32-bit Traditional Chinese |
European |
|
|
Latvian Standard LVS8-92(1) Windows/UNIX 8-bit Baltic |
|
ISO 8859-13 Baltic |
|
Microsoft Windows Code Page 1257 8-bit Baltic |
|
IBM-PC Code Page 775 8-bit Baltic |
|
ISO 8859-13 Celtic |
|
ISO 8859-5 Latin/Cyrillic |
|
RELCOM Internet Standard 8-bit Latin/Cyrillic |
|
KOI8 Ukrainian Cyrillic |
|
Microsoft Windows Code Page 1251 8-bit Latin/Cyrillic |
|
ISO 8859-2 East European |
|
ISO 8859-7 Latin/Greek |
|
Microsoft Windows Code Page 923 8-bit Estonian |
|
Microsoft Windows Code Page 1250 8-bit East European |
|
Microsoft Windows Code Page 1253 8-bit Latin/Greek |
|
IBM-PC Code Page 737 8-bit Greek/Latin |
|
IBM-PC Code Page 852 8-bit East European |
|
Microsoft Windows Code Page 921 8-bit Lithuanian |
|
ISO 8859-10 North European |
|
ISO 8859-4 North and North-East European |
|
IBM-PC Code Page 866 8-bit Latin/Cyrillic |
|
ISO 8859-3 South European |
|
ASCII 7-bit American |
|
IBM-PC Code Page 437 8-bit American |
|
ISO 8859-1 West European |
|
ISO 8859-15 West European |
|
Microsoft Windows Code Page 1252 8-bit West European |
|
IBM-PC Code Page 850 8-bit West European |
|
IBM-PC Code Page 858 8-bit West European |
Middle Eastern |
|
|
Arabic MS-DOS 720 Server 8-bit Latin/Arabic |
|
ASMO Extended 708 8-bit Latin/Arabic |
|
ISO 8859-6 Latin/Arabic |
|
Microsoft Windows Code Page 1256 8-Bit Latin/Arabic |
|
ISO 8859-9 Latin Azerbaijani |
|
ISO 8859-8 Latin/Hebrew |
|
Microsoft Windows Code Page 1255 8-bit Latin/Hebrew |
|
Microsoft Windows Code Page 1254 8-bit Turkish |
|
IBM-PC Code Page 857 8-bit Turkish |
|
ISO 8859-9 West European & Turkish |
Universal |
|
|
Unicode 4.0 UTF-16 Universal character set |
|
Unicode 4.0 UTF-8 Universal character set |
|
Unicode 3.0 UTF-8 Universal character set, CESU-8 compliant |
The character set mapping (charmap) of the locale ID assigned for each language may vary depending on the distribution and version of the Linux operating system. To determine the current character mapping, enter the following command in a shell:
% locale charmap UTF-8
Table 6 lists each charmap with its corresponding Oracle character set. In general, you should update the CHARACTER_SET
part of the NLS_LANG
parameter according to the actual charmap of your Linux session.
Table 6 Mapping charmap to Oracle Character Set
Locale charmap | Oracle Character Set |
---|---|
UTF-8 |
|
ISO-8859-1 |
|
ISO-8859-2 |
|
ISO-8859-3 |
|
ISO-8859-4 |
|
ISO-8859-5 |
|
ISO-8859-6 |
|
ISO-8859-7 |
|
ISO-8859-8 |
|
ISO-8859-9 |
|
ISO-8859-13 |
|
ISO-8859-14 |
|
ISO-8859-15 |
|
BIG5 |
|
BIG5-HKSCS |
|
CP1251 |
|
CP1255 |
|
EUC-JP |
|
EUC-KR |
|
EUC-TW |
|
GB18030 |
|
GB2312 |
|
GBK |
|
TIS-620 |
|