Outbound XML Translation Encoding Support

For outbound translation, Sterling Gentran:Server® creates XML files with the encoding options listed in this topic.

You configure the encoding in the properties of the root tag of the XML map. See About XML File Objects for more information.

  • UTF-8 - Unicode Transformation Format, 8-bit encoding form
  • UTF-16 - Unicode Transformation Format, 16-bit encoding form
  • Default - If you select this encoding when you define the properties of the XML map, the encoding that is actually written to the output file by the system depends on the code page that is currently installed in the operating system. This table relates the encoded string to its associated Windows code page.

If the operating system has any other code page installed, Sterling Gentran:Server generates the output file using the UTF-8 encoding, which is the default per the XML specification.

For example: <?xml version=”1.0” encoding=”Windows-1257”?>

Default Encoding Windows Code Page
UTF-7 65000
UTF-8 N/A
UTF-16 N/A
Shift-Jis 932
Big5 950
GB2312 936
dos-862 862
dos-720 720
EUC-JP 51932
HZ-GB-2312 52936
ISO-8859-1 1252
ISO-8859-2 28592
ISO-8859-4 28594
ISO-8859-5 28585
ISO-8859-7 28597
ISO-8859-9 28599
ISO-2022-JP 50220
ISO-2022-KR 50225
KOI8-R 20866
KSC_5601 949
Windows-874 874
Windows-1250 1250
Windows-1251 1251
Windows-1252 1252
Windows-1253 1253
Windows-1254 1254
Windows-1255 1255
Windows-1256 1256
Windows-1257 1257
Windows-1258 1258