Hey,
i have a QString which is converted to a Latin1 char via toLatin1(). As i'm from europe the text will contain special characters like ä,ö,ü.
The problem is that for example the character "ä" is converted to -28 (seen with visual studio debugger). I don't even know that conversion to a negative value was possible?! Same for toAscii(), the value is -28 in the debugger, conversion to int is also -28, using atoi() returns 0 and converted to an unsigned int is the number 4294967268.
what am i doing wrong?
The text comes from a QTextEdit and is converted via toPlainText()
Bookmarks