ij Properties Reference
Page 10 of 13

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= { on | off }

Examples

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


java -Dcloudscape.ui.locale=ja -Dcloudscape.ui.codeset=Cp939 
-Dij.unicodeEscape=on -Dij.protocol=jdbc:cloudscape:
COM.cloudscape.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'; SQLCo& ------ \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'; & - ñ