normalized strings in searches, completion, etc.



Hi,

I recently opened a bunch of bugs about lack of normalization of
strings in searches. These could probably be generalized carefully to
many string comparisons.
The problem is basically that a user could type with combining
diacritics instead of precomposed characters. Currently there's many
places where this doesn't work as expected.
For example if I search for "école" with <U+0065 LATIN SMALL LETTER E
+ U+0301 COMBINING ACUTE ACCENT>, the string "école" with <U+00E9
LATIN SMALL LETTER E WITH ACUTE> should be a match.
Some languages have keyboard layouts that have some combining diacritics.

http://bugzilla.gnome.org/show_bug.cgi?id=421736 gtk+ - FileChooser
http://bugzilla.gnome.org/show_bug.cgi?id=421678 gnumeric - search
http://bugzilla.gnome.org/show_bug.cgi?id=421486 nautiluse - File
Search Interface
http://bugzilla.gnome.org/show_bug.cgi?id=421253 rhythmbox
http://bugzilla.gnome.org/show_bug.cgi?id=421064 epiphany
http://bugzilla.gnome.org/show_bug.cgi?id=419894 gnome-utils - gdict

I'm sure there are tones of places where this doesn't work and some
where it does. But it should work everywhere someone does a search or
compares strings unless in some specific cases. What's the best way of
tackling the issue?

Cheers,

Denis Moyogo Jacquerye


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]