Skip to content
  • 0 Votes
    3 Posts
    855 Views
    Y
    @raven-worx Thank you. I will use UTF-8.
  • Qt Gui Text to ASCII art

    Unsolved General and Desktop text ascii help project
    3
    0 Votes
    3 Posts
    2k Views
    L
    @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
  • qDebug utf-8 issue

    Unsolved General and Desktop qdebug ascii utf-8
    4
    0 Votes
    4 Posts
    2k Views
    jsulmJ
    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
  • 0 Votes
    15 Posts
    34k Views
    Christian EhrlicherC
    @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;"