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

Bug in QString::compare() with Qt::CaseInsensitive

    XMLWordPrintable

Details

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

    Description

      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
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes