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 last edited by
    #1

    Why the code

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

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

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      0
      • jsulmJ jsulm

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

        X Offline
        X Offline
        xalisonx
        wrote on 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
        • jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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

          • Login

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