Internationalization / Charsets Configuration |
If application files (such as.4gl, .per, .4st files) contain characters in a specific encoding, the DVM has to run in this encoding.
Setting a DVM in a specific encoding is described in the Genero Business Development Language User Guide, section "Programming Applications", chapter "Localization". Locales can be set in the GAS executing environment, or with the <ENVIRONMENT_VARIABLE> tag inside the as.xcf file.
<?xml version="1.0" encoding="UTF-8"?> ... <COMPONENT_LIST> <WEB_APPLICATION_EXECUTION_COMPONENT Id="cpn.wa.execution.local"> <ENVIRONMENT_VARIABLE Id="FGLDIR">$(res.fgldir)</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="FGLGUI">$(res.fglgui)</ENVIRONMENT_VARIABLE> <ENVIRONMENT_VARIABLE Id="PATH">$(res.path)</ENVIRONMENT_VARIABLE> ... <ENVIRONMENT_VARIABLE Id="LC_ALL">ru_RU.KIO8-R</ENVIRONMENT_VARIABLE> <DVM>$(res.dvm.wa)</DVM> </EXECUTION_COMPONENT> ... </COMPONENT_LIST>