Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1353

German "Umlaute" are not handled with a LOCALE of de_DE.ISO8859-15

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • None
    • Utilities
    • None
    • Solaris 9/10, gcc 3.3.3/SunStudio 10, German Locale de_DE.ISO8859-15

    Description

      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.

      Attachments

        1. mbsTest.c
          1 kB
          Ewald Ertl

        Activity

          People

            amassari Alberto Massari
            ewer Ewald Ertl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: