Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. encoding
    Log in to post

    • UNSOLVED Create QByteArray JSON with special characters (é, ...) as unicode (\uxxxx)
      General and Desktop • json json parser encoding unicode • • Mixlu  

      4
      0
      Votes
      4
      Posts
      45
      Views

      @Mixlu What do you mean by "Unicode escaped format"? Normal characters won't be escaped, even a character like é also doesn't need to be escaped. If you use some special characters like \0, then it will be escaped to\u0000
    • SOLVED Problm with QTextEdit and accents
      General and Desktop • qt5.6 qtextedit encoding • • Alain38 0  

      2
      0
      Votes
      2
      Posts
      695
      Views

      @Alain38 OK: It seems in fact that wat just a problem with the console. By sending the text to the URL (using QUrlQuery for encoding) I have the text with the accents.
    • UNSOLVED Encoding and escaped strings
      General and Desktop • qnetworkreply utf-8 encoding • • Mark81  

      4
      0
      Votes
      4
      Posts
      2712
      Views

      @Mark81 Curious. What about: qDebug() << (QString::fromUtf8(value) == QStringLiteral("citt\u00E0")); Where value is the JSON value of that particular field (i.e. città). PS. What I'm trying to figure out is if this is an output issue, or encoding issue.
    • SOLVED QTranslator ru-en && UTF-8
      General and Desktop • utf-8 encoding qtranslator • • 0...-5  

      7
      0
      Votes
      7
      Posts
      1507
      Views

      @SGaist That is true, thanks!
    • Calculate progress percentage of a process (which calls ffmpeg) (without progressbar)
      General and Desktop • encoding process ffmpeg progress percentage • • Opa114  

      4
      0
      Votes
      4
      Posts
      4628
      Views

      @Chris-Kawa thanks for the hint. Works now :)
    • UNSOLVED EBCDIC reading with Qt
      General and Desktop • encoding file read ebcdic • • Peter83  

      2
      0
      Votes
      2
      Posts
      461
      Views

      No one has replied

    • [SOLVED] qDebug() << "ąę" vs qDebug() << QString::fromUtf8("ąę");
      General and Desktop • qt5.5 qstring qdebug encoding • • mkolenda  

      2
      0
      Votes
      2
      Posts
      1012
      Views

      qDebug().noquote() << QString("I have properly opened file %1").arg(fileName); But please... don't use non-ascii characters in source code. That's just being mean to others.
    • [SOLVED] Encoding UTF-8, QStandardItem and cross-compiling
      General and Desktop • cross compile qstring qstandarditem encoding • • paulo.hubert  

      8
      0
      Votes
      8
      Posts
      2961
      Views

      Oh well. I didn't have a reason for doing that, it was just plain ignorance. I corrected that, and also one more thing. I eliminate the std::string from std::string strtmp(attr->value()); oCol.item(i-1)->setText(QString::fromStdString(strtmp)); Standard c++ strings might not cope well with UTF-8 encoding. So I changed it to QString strtmp(attr->value()); oCol.item(i-1)->setText(strtmp); These two changes combined have solved it. Thank you very much!
    • Unicode/UTF-8 encoding while getting data from site via QWebElement
      Qt WebKit • json webkit json parser utf-8 webview webkit encoding unicode qwebframe qwebelement webelementcolle • • slesher  

      1
      0
      Votes
      1
      Posts
      833
      Views

      No one has replied

    • UTF Encoding ERROR
      General and Desktop • utf-8 encoding • • Lays147  

      5
      0
      Votes
      5
      Posts
      1134
      Views

      @SGaist Its using Serif. In the terminal there, when he run the app the follow error appears: Qt fontDatabase: cannot find font directory /home/user.../ . Is qt install correctly? I think the app is searching for a font in the folder of Qt. But if i make the app static, this font dont need be with the app? Well if i need to copy the font files, how to link to my app?