Glib::ustring and Japanese characters
Posted
by user294787
on Stack Overflow
See other posts from Stack Overflow
or by user294787
Published on 2010-03-18T08:37:53Z
Indexed on
2010/03/18
8:41 UTC
Read the original article
Hit count: 201
Glib::ustring is supposed to work well with UTF8 but I have a problem when working with Japanese strings.
If you compare those two strings, "???" and "???", using == operator or compare method, it will answer that those two strings are equals.
I don't understand why. How Glib::ustring works ?
The only way I found to get false to the comparison is to compare strings of different sizes. For example "?????" and "????".
Very strange...
© Stack Overflow or respective owner