jacobP
23rd August 2017, 01:03
If my QString's value is
WeÅ .txt
the function QString::toStdString() will return
WeÃ… .txt
whereas the function QString::toStdU16String will return the actual string
WeÅ .txt.
Why is that ? Å is a UTF-8 character as can be seen here : http://www.fileformat.info/info/charset/UTF-8/list.htm.
WeÅ .txt
the function QString::toStdString() will return
WeÃ… .txt
whereas the function QString::toStdU16String will return the actual string
WeÅ .txt.
Why is that ? Å is a UTF-8 character as can be seen here : http://www.fileformat.info/info/charset/UTF-8/list.htm.