ECN-4411 Unicode support for XML technologies

Type of Change: Enhancement

Product: ACUCOBOL-GT

Module: runtime

New Version: 10.1.0

Machines Affected: All

DESCRIPTION:

The XML technologies in ACUCOBOL-GT now support Unicode to the extent described below.

XML data is now stored internally as UTF-8 encoded data before being transferred to a data item in a COBOL program, where it is then encoded according to the COBOL_CHARACTER_SET configuration variable (see ECN-4363 for more details). Similarly, when transferring a COBOL data item to an XML document, the data is encoded into UTF-8 from the character set defined by the configuration variable.

Transferring data to or from a COBOL data item can be done in many ways, for example, reading the data (AcuXML), getting the data via C$XML CXML-GET-DATA, setting the data via C$XML CXML-SET-DATA, etc... This re-encoding affects all of those methods, and also the XML PARSE and XML GENERATE statements. It does not however, affect any usage performed using the XML Extensions suite.