apache > db
Apache DB Project
 
Font size:      

ij.unicodeEscape

ij.unicodeEscape

Function

Set this property to on to allow unicode escape sequences as input characters. By default, ij accepts unicode characters, not unicode escape characters.

If set to on, enter unicode symbols using unicode escape sequences (hexadecimal codes).

Syntax

ij.unicodeEscape= { onoff }

Examples

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

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

With ij.unicodeEscape turned off:

-- When ij.unicodeEscape is set to off (or not set), ij will interpret
-- the string that follows as a literal string of five characters
 
 
values '\u00f1';
1
------
\u00f1

With ij.unicodeEscape turned on:

-- When unicodeEscape is set to on, ij interprets the string that
-- follows as a unicode escape character.
 
1 row selected
values '\u00f1';
&
-
ñ

Previous Page
Next Page
Table of Contents
Index