Download Informix Dynamic 4GL User Guide, Version 3.0

Transcript
Editing Multibyte Data in 4GL Forms
Editing Multibyte Data in 4GL Forms
4GL 7.20 introduced GLS, a locale-based feature for supporting the entry,
display, retrieval, and collation of strings that include non-ASCII characters,
as well as display formats for number, time, and currency data for various
languages and cultures besides those of the default (U.S. English) locale. 4GL
7.x supports the Informix locale files for most European and Asian
languages, including multibyte East Asian locales for Chinese, Japanese, and
Korean languages.
4GL does not, however, support languages that use right-to-left or bidirec-
tional text (such as Arabic, Farsi, Hebrew, or Urdu).
Additional details about GLS can be found in the Informix Guide to GLS
Functionality.
The following environment variables can be set to support non-default
character sets, and cultural conventions for the display of numeric, date, and
currency data values:
■
CLIENT_LOCALE
■
DBAPICODE
■
DB_LOCALE
■
DBNLS
■
GL_DATE
■
GL_DATETIME
■
LANG
■
SERVER_LOCALE
SQL identifiers that include non-ASCII characters that the locale of the
database supports can appear within SQL statements in 4GL source code,
provided that the locale of the 4GL client system also supports these nonASCII characters in its codeset.
4GL identifiers, data strings, and the values of CHAR, VARCHAR, and TEXT
variables, formal arguments, and returned values can include non-ASCII
characters that the current locale supports.
Using Non-Graphical Extensions to 4GL 5-51