Internationalization / Charsets Configuration |
The Genero Application Server interacts with the operating system in various ways.
For example, the Genero Application Server:
In these cases and more, the Genero Application Server needs to know which encoding is used by the operating system. The operating system encoding is defined via environment variables as described in The Single UNIX™ - Specification Version 2 - Locale.
Starting the Genero Application Server from the command line with 'TIS-620' system encoding (Thai locale):
LC_ALL=th_TH.tis620 httpdispatch
Locales supported by an operating system can be displayed with command locale-a. If the operating system doesn't support the desired encoding, or if a specific encoding is needed, the system encoding can be defined with the FGLAS_SYSENCODING environment variable which overrides system locales.
Starting the Genero Application Server from the command line with 'UTF-8' system encoding:
LC_ALL=th_TH.tis620 FGLAS_SYSENCODING=UTF-8 httpdispatch