[ http://issues.apache.org/jira/browse/XERCESC-1353?page=history ]
Ewald Ertl updated XERCESC-1353: -------------------------------- Attachment: mbsTest.c The code itself is deeply nested at our site, but I've extracted the Problem as far as I could, to reproduce it: Produced on solaris 10 with the standard gcc delivered with the companion-CD Running with the original Source: -bash-3.00$ echo $LC_CTYPE de_AT.ISO8859-1 -bash-3.00$ mbsTest Current locale is de_DE.ISO8859-15 Converted buffer : dv|_DV\ Umlaute = äöüßÄÖÜ umlaute konv = 805306468, 805306486, 805306492, 805306463 Running with the modification + Extension of XSerializeEngine.[ch]pp with the Operator's: -bash-3.00$ echo $LC_CTYPE de_AT.ISO8859-1 -bash-3.00$ mbsTest Current locale is de_DE.ISO8859-15 Converted buffer : äöüßÄÖÜ Umlaute = äöüßÄÖÜ umlaute konv = 805306468, 805306486, 805306492, 805306463 I hope that helps Ewald > German "Umlaute" are not handled with a LOCALE of de_DE.ISO8859-15 > ------------------------------------------------------------------ > > Key: XERCESC-1353 > URL: http://issues.apache.org/jira/browse/XERCESC-1353 > Project: Xerces-C++ > Type: Bug > Components: Utilities > Versions: 2.6.0 > Environment: Solaris 9/10, gcc 3.3.3/SunStudio 10, German Locale > de_DE.ISO8859-15 > Reporter: Ewald Ertl > Attachments: mbsTest.c > > When setting the LC_CTYPE from the Environment set to de_DE.ISO8859-15, all > German "Umlaute" are not handled correct. > After changing the type of XMLCh from unsigned short to wchar_t and adding > the operator's > operator<<(unsigned short) and operator>>(unsigned short) to the > XSerializerEngine the > "Umlaute" are working. There has to be some problem in the > mbstowcs()-functions with the size of the buffer used for the conversion. -- 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]