Specifies the code page that should be used by READ, INPUT, and OUTPUT statements.
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.
Set the encoding to UTF-16 (for reading Unicode files):
SET TEMPORARY OPTION default_isql_encoding = 'UTF-16';
|Discuss this page in DocCommentXchange.
Send feedback about this page using email.
|Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|