Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qDebug utf-8 issue
QtWS25 Last Chance

qDebug utf-8 issue

Scheduled Pinned Locked Moved Unsolved General and Desktop
qdebugasciiutf-8
4 Posts 2 Posters 2.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xalisonx
    wrote on 14 Dec 2015, 09:19 last edited by
    #1

    Why the code

     qDebug() << "àèìòù";
    

    seems to produce an ASCII output (stange chars). Why?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 14 Dec 2015, 09:34 last edited by
      #2

      Works for me.
      Which encoding do you use in your terminal?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      X 1 Reply Last reply 14 Dec 2015, 09:40
      0
      • J jsulm
        14 Dec 2015, 09:34

        Works for me.
        Which encoding do you use in your terminal?

        X Offline
        X Offline
        xalisonx
        wrote on 14 Dec 2015, 09:40 last edited by
        #3

        @jsulm I don't know...how to? I've tried with windows 10 and windows 7....same result.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 14 Dec 2015, 09:50 last edited by
          #4

          Windows? That explains :-)
          I tested on Linux.
          I don't know how to fix this on Windows.
          Maybe this can help you: http://stackoverflow.com/questions/388490/unicode-characters-in-windows-command-line-how

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          2/4

          14 Dec 2015, 09:34

          • Login

          • Login or register to search.
          2 out of 4
          • First post
            2/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved