Database Connection URL Attributes
Page 14 of 17

unicode=false

Function

By default, Cloudscape expects SQL-J text in JDBC calls to be Unicode characters. You can override this default for a connection and use ASCII (with Unicode escapes) instead by specifying unicode=false on the database connection URL.

NOTE: Cloudscape provides this attribute primarily as a way to support existing behavior. If existing Java applications use ASCII and Unicode escapes within SQL-J, set unicode=false when connecting to retain existing behavior.

Specify true (the default) to use pure Unicode characters, or false to use ASCII with Unicode escape sequences.

Table 7-3 Sample Unicode and Unicode Escape Sequences

ASCII with Unicode Escapes

Unicode

"\u00ea"

ê

"\u00f1"

ñ

"\u00fc"

ü

"C"

C

Combining with Other Attributes

You can combine this attribute with other attributes.

Example

jdbc:cloudscape:toursDB;unicode=false