No, my friend, my question is clear. i want the greek characters (the char* realpath) to be written to the file `home16` WITHOUT to turn into "chinese" (I mean weird symbols etc)![]()
No, my friend, my question is clear. i want the greek characters (the char* realpath) to be written to the file `home16` WITHOUT to turn into "chinese" (I mean weird symbols etc)![]()
When you 're trying to help somebody in the newbie section, don't forget that he is a newbie. Be specific and give examples.
Well, if it was clear I wouldn't be explaining what I didn't understand...but oh well.
Have you tried converting your byte sequence into a QString using the appropriate ::from XXX function? For instance, if your byte sequence is in UTF-8 then my guess would be that you'd get better results with:
Qt Code:
To copy to clipboard, switch view to plain text mode
Also, not all programs are going to display your text output correctly. You'll need something specifically able to deal with Unicode and have the right font loaded, etc... It is possible that you've already gotten correct output but are looking at it with something not smart enough to read it correctly.
hakermania (28th December 2010)
Thank you, this worked
And a note: LINUX are not as WINDOWS, they have programs that CAN read Unicode Characters HAHAHA![]()
When you 're trying to help somebody in the newbie section, don't forget that he is a newbie. Be specific and give examples.
If you are talking about a GUI program that could read unicode, you're right, but as long as I use Linux, nano and vim read unicode perfectly.
When you 're trying to help somebody in the newbie section, don't forget that he is a newbie. Be specific and give examples.
Bookmarks