apache > db
Apache DB Project
 
Font size:      

derby.ui.codeset

derby.ui.codeset

Function

Set this property to a supported character encoding value when using one of the Derby tools with a language not supported by your default system.

Syntax

derby.ui.codeset=csval

where csval is a supported character encoding value, for example, UTF8 (see Table 2).

Examples

The following command line specifies to run ij using the Japanese territory (territory=ja_JP), using Japanese Latin Kanji mixed encoding (codeset=Cp939), allowing Unicode escape sequences (unicodeEscape=on):

java -Dderby.ui.territory=ja_JP -Dderby.ui.codeset=Cp939 
    -Dij.unicodeEscape=on -Dij.protocol=jdbc:derby:
    org.apache.derby.tools.ij

The following table contains a sampling of supported character encodings. To see the full list, go to http://java.sun.com/j2se/1.3/docs/guide/intl/encoding.doc.html.


Table 2. Sample Character Encodings

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
UTF8Standard UTF-8

Previous Page
Next Page
Table of Contents
Index