I am using a qstring and using the function toStdString(). When I do this I lose a minus sign:
'332-_09I_W'
this text becomes:
'332_09I_W'
What can I do to prevent this?
EDIT: Actually, the problem is not when i use toStdString(), it is when I set the text in my qTextEdit. The change occurs here:
myTextEdit->setHtml(myString);