Re: How to convert QString to std::string or char*?
Originally Posted by wysota
So in 99.9% of the cases keeping a utf-8 string in a C byte array without also keeping its size is fine.
Then how you explain this:
Originally Posted by MrDeath
no matter what encoding he converts his QString to ... but when eventually it be converted to a char* (by any function, toAscii(), or data(), or anything), it will loose the unicode charecter.
Bookmarks