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

Refactor&Replace corrupt UTF8 Russian letter 'Р'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.3.1
    • Editors
    • None
    • Windows 7 64 bit, Qt creator 32bit rev. 8840168fc5

    Description

      To reproduce:
      1. Create new Qt Widget project GUI.
      2. Autocreate MainWindow widget
      3. Now we have 3 files: main.cpp mainwindow.h mainwindow.cpp
      4. Setup UTF-8 codec for all editor files in preferences.
      5. Open mainwindow.h and type comment in Russian 'ПРИВЕТ из России'
      6. Close mainwindow.h
      7. Open main.cpp
      8. Refactor MainWindow with context menu item (or press CTRL+Shift+R)
      9. Change class name MainWindow to MainWindow1 and press Replace button.
      10. Open maibwindow.h and see yellow waring: Can't convert mainwindow.h to UTF-8. File is readonly.
      11. All russian letters 'Р' in upper case are '? '. Other letters are ok.

      P.S. If we do not close mainwindow.h (stage 6) - all ok with russian letters.

      Attachments

        1. untitled1.zip
          1 kB
          Andrew Semenenko
        2. untitled1_after_refactor.zip
          1 kB
          Andrew Semenenko

        Issue Links

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

          Activity

            People

              leamelo Leandro T. C. Melo
              cemehehko Andrew Semenenko
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes