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

Debugger does not show umlaut in const char * correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.0.0-rc1
    • Qt Creator 4.0.0-rc1
    • Debugger
    • None
    • Windows 7 64 bit
      MinGW 4.9
      gdb 7.8
    • 744d78d431a3e64fcaac56e96279c34f645f080d

    Description

      1. Open "simple" project from tests\manual\debugger\simple\simple.pro in Creator's repository.
      2. Place a breakpoint at BREAK_HERE in testTypeFormats() (line 5370).
      3. Let the debugger run into this breakpoint.
        In Locals and Expressions view, you can see the values. In the const char * the debugger does not show the umlaut correctly, whereas in the const char[] it does:
        cs "aöa" char [5]
        s "aöa" char *

        After switching the display format to "UTF-8 String" s is being being displayed correctly.

      String should be displayed correctly and consistently by default.

      Attachments

        1. left.log
          3 kB
        2. right.log
          43 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes