Configuring Genero Studio / Language support (text encoding) |
The encodingMap.xml file maps character set aliases, fallback character set names to try if the alias is unsupported, the name of the character set used by Genero Studio, and the corresponding language definition for the LANG variable for Genero on Unix.
A default list of text encodings is provided in Genero Studio. The mappings between each character set alias and its corresponding attributes are defined in the encodingMap.xml file in the GSTDIR/conf directory.
For some of the encodings there is only a partial match between Unix and Windows™ platforms.
This file contains a table used to map each encoding name (alias) to:
<Alias name="IBM852" fallback="852,ibm852" impl="IBM852" unixCountry="pl_PL"/>
This means that:
The impl attribute is defined within the POSIX2 charmap file after the code_set_name. It appears in the Genero Studio preferences combobox: <code_set_name> IBM852.
The name attribute is the name Genero Studio should use for this text encoding. By default it is the character set name (code_set_name); when an alias to an existing encoding is needed, the name attribute should contain the alias name.
<Alias name="CP852" fallback="IBM852,852" impl="IBM852" unixCountry="pl_PL"/>