GNOME Bugzilla – Bug 419894
broken decomposed Unicode queries
Last modified: 2007-08-18 21:37:41 UTC
Gdict doesn’t seem to handle decomposed query strings. For example on a French dict, search for "bière" (that’s with <e, combingin grave> instead of <e grave>) and no result if found, querying "bière" finds results. I'm guessing this would depend on dict, what Unicode normalization is uses, if it does.
Created attachment 85559 [details] [review] normalize word in command This patch normalizes the word when adding it to the command with cmd->word = g_utf8_normalize (word, -1, G_NORMALIZE_NFC);
Created attachment 85560 [details] [review] gdict: normalize word in command Sorry, patch was also doing something else for gnome-screenshot. Here's the correct patch.
thanks, applied to SVN trunk. 2007-08-18 Emmanuele Bassi <ebassi@gnome.org> * libgdict/gdict-client-context.c: Handle decomposed strings when querying the dictionary server. (#419894, Denis Jacquerye)