PDA

View Full Version : Problems with QString::simplified() API



montylee
20th June 2009, 01:58
I have an existing code which uses QString::simplified() to remove any whitespaces etc. from a QString coming from the database. In english it works fine, but in korean, most of the times it works fine but some characters are replaced by space, so i see missing characters in the final string.

Is QString::simplified() unicode compatible or is any any equalent UTF-8 API which i can use? Should i file a bug about QString::simplified() at Qt's bug tracking site?

wysota
20th June 2009, 02:38
Most probably you simply did something wrong when converting between encodings. Can we see the code?

nish
20th June 2009, 05:14
oh man... that avatar is cool...