Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-18254

Bug in QString::compare() with Qt::CaseInsensitive and GERMAN SMALL LETTER SHARP S (ß)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.6.2

      Here is the code that reproduces problem.

      QString s1 = QString("stra%1e").arg(QChar(0x00DF));
      QString s2 = s1.toUpper();
      int compRes = s1.compare(s2, Qt::CaseInsensitive); // I would expect comprRes==0 after comparison, but it is not 0
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            lkryvelyov Leonid Kryvelyov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes