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

Windows: QStandardPaths does not return correct paths if path contains non-ascii characters

    XMLWordPrintable

    Details

    • Commits:
      910f719bd111813f37278b67d07f9d12cb03a4ff (qtbase/5.6, 29.1.2016, 5.6)

      Description

      To reproduce, run attached example on Windows with username for example: "gröp☻"

      Output:

      ("/qtbug-example")
      

      Expected at least:

      ("C:/users/gröp☻/AppData/Local/qtbug-example")
      

      Customer reported HЎυφ

      #1 U+0048 'H' category=Letter_Uppercase script=Script_Latin(3) direction=DirL joiningType=Joining_None decomposition=NoDecomposition version=Unicode_1_1
      #2 U+040E 'Ў' script=Script_Cyrillic(5) decomposition=Canonical
      #3 U+03C5 'υ' category=Letter_Lowercase script=Script_Greek(4) decomposition=NoDecomposition
      #4 U+03C6 'φ'
      
      t += QChar(0x48);
      t += QChar(0x40e);
      t += QChar(0x3c5);
      t += QChar(0x3c6);
      

        Attachments

        1. qtbug50570_orig.jpg
          qtbug50570_orig.jpg
          103 kB
        2. qtbug50570_umlaut.jpg
          qtbug50570_umlaut.jpg
          123 kB
        3. qtbug50570_widgets.zip
          1 kB
        4. qtbug50570.png
          qtbug50570.png
          19 kB
        5. qtbug50570.zip
          0.6 kB
        6. qtbug50570-error.png
          qtbug50570-error.png
          121 kB

          Issue Links

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

            Activity

              People

              Assignee:
              kkohne Kai Köhne
              Reporter:
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: