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

How to write umlauts to an Qt Console App

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.9.2
    • C/C++/Obj-C++ Support
    • None
    • Windows

    Description

      I use on Windows the MinGW kit of Qt.

      The console app uses a `qtcreator_process_stub.exe`  to bring up a console window.

       

      I like to use

          QTextStream qout(stdout);
          qout.setCodec("utf-8");    
          qout << " Print umlaut: üöä ß" << endl;         

       

      But the console does not Show the Umlauts correctly-

       

       

      Tried Curing Qt UTF-8 console pain on Windows

      but that did not work fo me.

       

      What is necessary to show utf-8 Umlauts in a Qt console app?

       

       

      Attachments

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

        Activity

          People

            kosjar Nikolai Kosjar
            qt-pet-ro Peter Robisch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes