Navigation

    Qt Forum

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

    • SOLVED How to set the codec for reading ASCII file?
      General and Desktop • qtextstream ascii qt 5.11.0 • • Yash001  

      3
      0
      Votes
      3
      Posts
      360
      Views

      @raven-worx Thank you. I will use UTF-8.
    • UNSOLVED Qt Gui Text to ASCII art
      General and Desktop • text help project ascii • • Losnariu12  

      3
      0
      Votes
      3
      Posts
      1101
      Views

      @aha_1980 Thanks for the answer . I will try your sugestions and see how it goes. I've done all this text to ASCII in console codeblocks C++ but it seems that i need a gui to it. I am not as good in Class'es and things like that. I will try it anyways. An example could be more than good for one letter . i could do the rest alone :P . Have a good night
    • UNSOLVED qDebug utf-8 issue
      General and Desktop • qdebug utf-8 ascii • • xalisonx  

      4
      0
      Votes
      4
      Posts
      1532
      Views

      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
    • How to convert ASCII Hex string to Byte array?
      General and Desktop • bytearray ascii hex • • kahlenberg  

      15
      0
      Votes
      15
      Posts
      27266
      Views

      @mganesh This works fine for me. Your output can not match on what you've written. Please post all your test code int main(int argc, char **argv) { QCoreApplication app(argc, argv); QString monitorCommand = "020400000006703B"; QByteArray data_to_transmit = QByteArray::fromHex(monitorCommand.toUtf8()); qDebug() << monitorCommand << data_to_transmit; return 0; } --> "020400000006703B" "\x02\x04\x00\x00\x00\x06p;"