derby.ui.locale property
Derby Tools and Utilities Guide
29
derby.ui.codeset=derbyval
where derbyval is a supported character encoding value, for example, UTF8 (see the
table later in this topic).
Example
The following command specifies to run
ij
using the Japanese territory
(derby.ui.locale=ja_JP) using Japanese Latin Kanji mixed encoding (codeset=Cp939):
java -Dderby.ui.locale=ja_JP -Dderby.ui.codeset=Cp939
-Dij.protocol=jdbc:derby:
org.apache.derby.tools.ij
The following table contains a sampling of character encodings. Supported encodings
vary from product to product. For example, to see the full list of the character encodings
that are supported by the Java Platform, Standard Edition 6 Software Development Kit,
go to
.
Table 2.
Sample character encodings
Character Encoding
Explanation
8859_1
ISO Latin-1
8859_2
ISO Latin-2
8859_7
ISO Latin/Greek
Cp1257
Windows Baltic
Cp1258
Windows Vietnamese
Cp437
PC Original
EUCJIS
Japanese EUC
GB2312
GB2312-80 Simplified Chinese
JIS
JIS
KSC5601
KSC5601 Korean
MacCroatian
Macintosh Croatian
MacCyrillic
Macintosh Cyrillic
SJIS
PC and Windows Japanese
UTF8
Standard UTF-8
derby.ui.locale property
Function
Set this property to a supported locale name when using one of the Derby tools, if you
want another locale than the system default locale. The locale determines the localized
display format for numbers, dates, times and timestamps, as well as the language of
the messages from the Derby tools. Note that some pages in the Derby documentation
guides refer to a "locale" as a "territory".
Syntax
derby.ui.locale=derbyval