QString and c++ unicode escapes
Excuse my ignorance, but I can’t figure out what is up with the following:
don’t yield the same result. The latter is what I want (uppercase greek delta) but I can figure out what the first is doing?
[EDIT: code formatting, Volker]
the fact is trivial.
In the first case, you have an char* string which contains some bytes. this is different to utf16 (where the \oXXX makes sense). The string is converted to a QString by the loacle you use.
Label 2 and 3 show the correct sign.