I'm not sure this is a bag, may be undocumented feature... I use the QString::fromLocal8Bit("dummy\n") then tried to write it to file by fwrite in a text mode and I got in hex: "64 00 75 00 6d 00 6d 00 79 00 0d 0a 00", despite "64 00 75 00 6d 00 6d 00 79 00 0d 00 0a 00", as I may suppose. What's this?
I'm not sure this is a bag, may be undocumented feature...
ReplyDeleteI use the QString::fromLocal8Bit("dummy\n") then
tried to write it to file by fwrite in a text mode and I got in hex:
"64 00 75 00 6d 00 6d 00 79 00 0d 0a 00",
despite
"64 00 75 00 6d 00 6d 00 79 00 0d 00 0a 00", as I may suppose. What's this?
Radmir