apache > db
Apache DB Project
 
Font size:      

CODESET values for import/export

CODESET values for import/export

Import and export procedures accept arguments to specify codeset values. You can specify the codeset (character encoding) for import and export procedures to override the system default. The following table contains a sample of character encoding supported by JDK 1.x. To review the complete list of character encodings, refer to your Java documentation.

Table 3. Sample character encodings

This table contains sample character encodings supported by JDK1.x.
Character EncodingExplanation
8859_1ISO Latin-1
8859_2ISO Latin-2
8859_7ISO Latin/Greek
Cp1257Windows Baltic
Cp1258Windows Vietnamese
Cp437PC Original
EUCJISJapanese EUC
GB2312GB2312-80 Simplified Chinese
JISJIS
KSC5601KSC5601 Korean
MacCroatianMacintosh Croatian
MacCyrillicMacintosh Cyrillic
SJISPC and Windows Japanese
UTF-8Standard UTF-8

The following example shows how to specify UTF-8 encoding to export from the staff table:

CALL SYSCS_UTIL.SYSCS_EXPORT_TABLE
(NULL,'staff','staff.dat',NULL,NULL,'UTF-8')

The following example shows how to specify UTF-8 encoding to import from the staff table:

CALL SYSCS_UTIL.SYSCS_IMPORT_TABLE
(NULL,'staff','staff.dat',NULL,NULL,'UTF-8',0)


Previous Page
Next Page
Table of Contents
Index