|
From: Zilo <ko...@gm...> - 2005-01-13 14:45:18
|
On 01/13/05 14:17:27, Gary Kramlich wrote: > As per the documentation at > http://developer.gnome.org/doc/API/2.0/glib/glib-Unicode-Manipulation.htm= l#g-utf8-normalize >=20 > Converts a string into canonical form, standardizing such issues as > whether a character with an accent is represented as a base character > and combining accent or as a single precomposed character. You should > generally call g_utf8_normalize() before comparing two Unicode > strings. >=20 > So basically, what I tried to do, but it obviously isn't working, is > to store a comparable string in our hash table, so we can test it =20 > before adding a new one, and therefore avoid duplicates. Well, I think that lowering case should be enough, anyway I posted a =20 fix to use gaim_normalize() too :P cya |