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 421512 - file search folds only ASCII case
file search folds only ASCII case
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File Search Interface
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-22 15:16 UTC by Denis Jacquerye
Modified: 2007-06-18 21:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Denis Jacquerye 2007-03-22 15:16:31 UTC
The simple engine uses g_ascii_strdown instead g_utf8_strdown.

This means searching for "stuff" will match files "Stuff" and "stuff"
But searching for "école" will only match "école" and not "École".

Searching for "école" should match "École" and any other equivalent unicode string in lowercase such as "école" and "École" with <U+0301 COMBINING ACUTE ACCENT> (but that's already in Bug 421486).
Comment 1 Denis Jacquerye 2007-03-22 17:40:31 UTC
See attachment 85122 [details] [review] of Bug 421486 which also normalizes for search.
Comment 2 Martin Wehner 2007-06-18 21:11:57 UTC
2007-06-18  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-search-engine-simple.c:
	(search_thread_data_new), (search_visit_func):
	Normalize unicode search strings and use g_utf8_strdown to
	lowercase them. (#421486/#421512)
	Patch from Denis Jacquerye  <moyogo@gmail.com>