Release Notes

5The simplified Chinese locale (Red Hat Linux)

5Red Hat Version 8 and later (including Red Hat Enterprise Linux 5[RHEL] versions 2.1 and 3) has changed the default code set for 5simplified Chinese from GBK (code page 1386) to GB18030 (code page 5488 or 51392).

3Since DB2 Universal Database for Linux supports the GBK code set 3natively and the GB18030 code set via Unicode, DB2 Universal Database will 3default its code set to ISO 8859-1 (code page 819), and in some operations 3will also default its territory to the United States (US).

3To work around this limitation, you have two options: 3

3If you choose to use the first option, issue the following commands:

3db2set DB2CODEPAGE=1386
3db2set DB2TERRITORY=86
3db2 terminate
3db2stop
3db2start 

3If you choose to use the second option, issue any one of the following 3commands:

3export LANG=zh_CN.gbk
3export LANG=zh_CN
3export LANG=zh_CN.utf8

3where the code set associated with zh_CN is eucCN or code page 1383, and 3with zh_CN.utf8 is code page 1208.


[ Top of Page | Previous Page | Next Page | Table of Contents ]