Default Character Set Mapping
- Last UpdatedFeb 10, 2026
- 1 minute read
The default Character Set Code is automatically loaded as the Character Encoding map file (see AVEVA NET Export - Settings Window). It contains something like:
--Begin
|
885901 |
ISO-8859-1 |
Latin1 (West European) |
|
885902 |
ISO-8859-2 |
Latin2 (East European) |
|
885903 |
ISO-8859-3 |
Latin3 (South European) |
|
885904 |
ISO-8859-4 |
Latin4 (North European) |
|
885905 |
ISO-8859-5 |
Cyrillic |
|
885906 |
ISO-8859-6 |
Arabic |
|
885907 |
ISO-8859-7 |
Greek |
|
885908 |
ISO-8859-8 |
Hebrew |
|
885909 |
ISO-8859-9 |
Latin5 (Turkish) |
|
885910 |
ISO-8859-10 |
Latin6 (Nordic) |
|
885911 |
ISO-8859-11 |
Thai |
|
KOREAN |
EUC-KR |
Korean |
|
JAPANESE |
Shift-JIS |
Japanese |
|
CHINESE |
EUC-CN |
Chinese Simplified |
|
TCHINESE |
EUC-TW |
Chinese Traditional |
|
UTF-8 |
UTF-8 |
UNICODE |
|
DEFAULT |
UTF-8 |
UNICODE |
The result of the mapping is that CHARSET/MBCHARSET code 885908 are XML encoded as ISO-8859-8 (Hebrew). The DEFAULT statement means that if the character set is not listed the XML will be encoded as UTF-8.
Note: If no DEFAULT statement is listed, the XML will default to UTF-8.
A simple example is shown below on how to edit the file, to map CHARSET/ MBCHARSET code 885905 to WINDOWS-1251 encoding:
...
--Begin
|
885901 |
ISO-8859-1 |
Latin1 (West European) |
|
… |
||
|
885904 |
ISO-8859-4 |
Latin4 (North European) |
|
885905 |
WINDOWS-1251 |
Cyrillic |
|
885906 |
ISO-8859-6 |
Arabic |
|
… |
||
|
DEFAULT |
UTF-8 |
UNICODE |
This will make the first line of all XML generated by the Gateway change as shown below, as long as the Character set in PDMS is 885905:
<?xml version="1.0" encoding="UTF-8"?> To
<?xml version="1.0" encoding="WINDOWS-1251"?>