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

Qt Creator doesn't handle UTF-8 encoding well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 2.2.0
    • Qt Creator 2.0.0
    • Editors
    • None
    • 69e776caf4313ac3454e1ada8f43f073a7a63d3c

      First of all, Qt Creator doesn't seem to have an option to save files with UTF-8 Encoding.
      However, if one wants to put Unicode characters inside a string, it would be a nice-to-have feature.

      If I save my file with UTF-8 encoding with another text editor and later open it with Qt Creator, it shows mismatching characters instead of the Unicode characters.

      For example, my last name "Kristóf" reads as "KristĂłf" when opened in Qt Creator, although it appears in my application correctly when I run it.
      Note that the issue appears both when I save the file using "UTF-8 with signature" and "UTF-8 without signature".

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

            buddenha Oswald Buddenhagen
            venemo Timur Kristóf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes