Build-in UCS4 transcoder does not respect endianess
---------------------------------------------------
Key: XERCESC-1950
URL: https://issues.apache.org/jira/browse/XERCESC-1950
Project: Xerces-C++
Issue Type: Bug
Components: Utilities
Affects Versions: 3.1.1
Environment: any
Reporter: Boris Kolpackov
Fix For: 3.1.2, 3.2.0
Attachments: test.xml
Built-in UCS4 transcoder does not respect endianess of the requested encoding.
Try this on the attached test file:
DOMPrint -wenc=UCS-4LE -wfile=le.xml test.xml
DOMPrint -wenc=UCS-4BE -wfile=be.xml test.xml
The resulting two files will have the same representations for "long"
characters, little-endian if run on LE machine, and big-endian if run on a BE
machine. The UTF-32 transcoder doesn't seem to have this problem.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]