Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26028

QtCreator create UI files with or without UTF-8 flag in file header according to encoding settings, and cannot open both types of UI files

    XMLWordPrintable

Details

    • Windows
    • 67037b1ca87fc8a39454d6011c3d68b4a150ca86 (qt-creator/qt-creator/6.0)

    Description

      When changed the project specific editor settings (see attached screenshot), QtCreator creates UI files with or without UTF-8 flag. In the attached project, one UI file is created with default encoding set to UTF-8, the other is created with default encoding set to SJIS. QtCreator cannot open both of them in one setting.

      Encoding of UI file can only be in UTF-8. It does not make sense for QtCreator to create different types of UI files according to encoding setting. It is worse that QtCreator choose to open one but not the other even though both files are actually in the same encoding.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            yifei Yi Fei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes