Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - Database Administration » Administering Your Database » SQL Anywhere graphical administration tools » Using Interactive SQL » Interactive SQL options


default_isql_encoding option [Interactive SQL]

Specifies the code page that should be used by READ, INPUT, and OUTPUT statements.

Allowed values

Identifier or string


Use system code page (empty string)


Can be set as a temporary option only, for the duration of the current connection.


This option is used to specify the code page to use when reading or writing files. It cannot be set permanently. The default code page is the default code page for the platform you are running on. On English Windows computers, the default code page is 1252.

Interactive SQL determines the code page that is used for a particular INPUT, OUTPUT, or READ statement as follows, where code page values occurring earlier in the list take precedence over those occurring later in the list:

  • the code page specified in the ENCODING clause of the INPUT, OUTPUT, or READ statement
  • the code page specified with the default_isql_encoding option (if this option is set)
  • the default code page for the computer Interactive SQL is running on

For more information about code pages and character sets, see International language and character set tasks.

See also

Set the encoding to UTF-16 (for reading Unicode files):

SET TEMPORARY OPTION default_isql_encoding = 'UTF-16';