That is because you write unicode characters to the data stream.
What you need is to write ascii characters:
Qt Code:
const char* ascii = b.constData(); out << int(0x02) << ascii;To copy to clipboard, switch view to plain text mode
Regards
That is because you write unicode characters to the data stream.
What you need is to write ascii characters:
Qt Code:
const char* ascii = b.constData(); out << int(0x02) << ascii;To copy to clipboard, switch view to plain text mode
Regards
nbkhwjm (2nd September 2007)
Bookmarks