|
From: | fbg00 |
Subject: | [bug #18835] find -name option fails to correctly handle certain Unicode filenames |
Date: | Fri, 19 Jan 2007 21:15:34 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 |
URL: <http://savannah.gnu.org/bugs/?18835> Summary: find -name option fails to correctly handle certain Unicode filenames Project: findutils Submitted by: fbg00 Submitted on: Friday 01/19/2007 at 21:15 Category: find Severity: 3 - Normal Item Group: Wrong result Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.2.27 Fixed Release: None _______________________________________________________ Details: find -name option fails to correctly handle certain Unicode filenames. For example: $ find -name "*.txt" -print will fail to recognize Lucía.txt Sample command set reproducing problem Linux version 2.6.15-23-server (address@hidden) (gcc version 4 .0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP Tue May 23 15:10:35 UTC 2006 find version 4.2.27 $mkdir t1131 $cd t1131 $ touch Lucía.txt $ touch lucia.txt $ find . -name "*.txt" -print ./lucia.txt $ find . -print | grep -i "\.txt$" ./Lucía.txt ./lucia.txt Sorry, did not check in later versions of findutils. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?18835> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |