You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2010/11/22 18:08:15 UTC
[jira] Updated: (XERCESC-1950) Build-in UCS4 transcoder does not
respect endianess
[ https://issues.apache.org/jira/browse/XERCESC-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov updated XERCESC-1950:
-------------------------------------
Attachment: test.xml
> 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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org