Java DB

Apache Derby

Derby Tools and Utilities Guide

Derby Getting Started
Derby Reference Manual
Derby Developer's Guide
Derby Performance Tuning
Derby Server and Admin Guide
Derby Tools and Utilities
Derby Tools and Utilities
-Copyright
-License
-About this guide
-What are the Derby tools and utilities?
-Using ij
-ij properties reference
-ij commands and errors reference
-ij commands
-Absolute command
-After Last command
-Async command
-Autocommit command
-Before First command
-Close command
-Commit command
-Connect command
-Describe command
-Disconnect command
-Driver command
-Elapsedtime command
-Execute command
-Exit command
-First command
-Get Cursor command
-Get Scroll Insensitive Cursor command
-Help command
-Last command
-LocalizedDisplay command
-MaximumDisplayWidth command
-Next command
-Prepare command
-Previous command
-Protocol command
-Readonly command
-Relative command
-Remove command
-Rollback command
-Run command
-Set Connection command
-Show command
-Wait For command
-Syntax for comments in ij commands
-Syntax for identifiers in ij commands
-Syntax for strings in ij commands
-ij errors
-Using the bulk import and export procedures
-Storing jar files in a database
-sysinfo
-dblook
-SignatureChecker
-Trademarks

 

derby.ui.codeset property

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=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.
Table 1. 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
 

javadb@jdbcurl.com