Language character sets

Embedded SQLJ supports Java's Unicode escape sequences. Also, if you set your Java™ property file.encoding to 8859_1 (or do not set it at all), you can use the Latin-1 character set.

To process files with a different encoding-for example, SJIS-you have the following choices:
  • Use the JDK tool native2ascii to convert the native encoded source to a source with ASCII encoding.
  • Set file.encoding=SJIS in java.properties in the Java home directory.
  • Invoke the SQLJ translator using the following command:
    java ifxsqlj -Dfile.encoding=SJIS file.sqlj