Message: The following issue has been resolved as FIXED.
Resolver: Alberto Massari Date: Fri, 23 Jul 2004 2:17 PM Fix is in CVS. Please verify. Alberto --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1142 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1142 Summary: Iconv calcRequiredSize() fails with multibyte encoding like UTF8 Type: Bug Status: Resolved Resolution: FIXED Project: Xerces-C++ Components: Utilities Versions: 2.4.0 Assignee: Reporter: ext-mika.stewen Created: Thu, 12 Feb 2004 12:57 PM Updated: Fri, 23 Jul 2004 2:17 PM Environment: Operating System: HP-UX Platform: HP Description: IconvLCPTranscoder::calcRequiredSize (const char* const srcText,..) calculates the size incorrectly when character encoding is a variable width encoding like UTF8. Depending of how many bytes the first character of the string to be transcoded takes, it is assumed that all characters take the same amount, which is not true with UTF8 or GB2312. It seems that this bug has been introduced in version 2.2 (IconvTransService.cpp rev 1.10). Same bug has been fixed in Win32 transcoder, see bug #23095. regards, Mika --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]