Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Handling codepage conversions

> The SAX-writer will output the XML document in the codepage specified by the `ENCODING` attribute (`UTF-8` by default). However, the character input to the document may use several codepages:

> - `CHARACTER` variables use the codepage set by the Progress parameter `-cpinternal`.

> - `LONGCHAR` variables use the codepages set for them.

> The SAX-writer handles these issues automatically by converting all character data to the `UTF-16` codepage during processing before converting the XML output to the correct specified codepage.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095