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

QFileDialog on Mac can return a decomposed unicode string when a file with non ascii characters is selected

    XMLWordPrintable

Details

    • macOS
    • ac4474900c59d6d17d12f10dae154117af757b46

    Description

      QFileDialog on Mac can return a decomposed unicode string when a file with non ascii characters is selected.

      To workaround this in your code, then do:

         QString str = getOpenFileName();
         str = str.normalized(QString::NormalizationForm_C);
      

      Attachments

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

        Activity

          People

            andysh Andy Shaw
            anshaw Andy Shaw (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes