Syntax
derby.ui.codeset=derbyval
where derbyval is
a supported character encoding value, for example, UTF8 (see Sample Character Encodings).
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 Java 2 Software Development Kit, Standard Edition, v. 1.4.2
go to
http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html.