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 "Steven J. Hathaway (JIRA)" <xe...@xml.apache.org> on 2013/04/30 00:18:17 UTC
[jira] [Commented] (XERCESC-2012) Get error on
XMLString::transcode when data contains hex 92 (Linux)
[ https://issues.apache.org/jira/browse/XERCESC-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644953#comment-13644953 ]
Steven J. Hathaway commented on XERCESC-2012:
---------------------------------------------
If your source string has UTF-8 encoding, then 0x92 = '10010010'
is a UTF-8 continuation multibyte character. There are other
encodings where 0x92 represents a character in the codepage map.
If the previous UTF-8 byte does not have the MSB bit set,
you have a multibyte failure.
Sincerely,
Steven J. Hathaway
> Get error on XMLString::transcode when data contains hex 92 (Linux)
> --------------------------------------------------------------------
>
> Key: XERCESC-2012
> URL: https://issues.apache.org/jira/browse/XERCESC-2012
> Project: Xerces-C++
> Issue Type: Bug
> Affects Versions: 3.1.1
> Environment: RHEL 5.6 64bit
> Reporter: Jason
> Priority: Critical
>
> I have a data string that contains hex 92 - BIN~24~Ringer’s.patient’s right
> It works fine on windows when I call XMLCh *tag = XMLString::transcode(image)
> but on the linux, it give a error
> char 1344, Message: invalid multi-byte sequence
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org