After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 421253 - find/search doesn't normalize
find/search doesn't normalize
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks: 423036
 
 
Reported: 2007-03-21 22:21 UTC by Denis Jacquerye
Modified: 2007-03-27 10:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch normalizing strings (1.50 KB, patch)
2007-03-22 12:56 UTC, Denis Jacquerye
committed Details | Review

Description Denis Jacquerye 2007-03-21 22:21:20 UTC
Search doesn't normalize strings during search.

Example: 
I have a song by artist Tété. 
My keyboard layout has combining diacritics so I type <U+0065 LATIN SMALL LETTER E;U+0301 COMBINING ACUTE ACCENT> instead of <U+00E9 LATIN SMALL LETTER E WITH ACUTE>.
If I search "Tété" with combining diacritics nothing is found although "Tété" with precomposed characters should match.
Comment 1 Denis Jacquerye 2007-03-22 12:56:43 UTC
Created attachment 85107 [details] [review]
patch normalizing strings

This patch normalizes the in string rb_search_fold() and rb_string_split_words().

Because of the "normalizing" already present in the code now "Tete" will match "Tété".
Comment 2 James "Doc" Livingston 2007-03-27 10:21:34 UTC
I've committed the patch to svn trunk.