Package: findutils
Version: 4.4.2-9+b1

$ find Vol* -print | grep KV359-374a | wc -l
1
$ find Vol* -name \* -print | grep KV359-374a | wc -l
0
$ LC_ALL=C find Vol* -name \* -print | grep KV359-374a | wc -l
1
$ LC_ALL=C find Vol* -name \* -print | grep KV359-374a | hd
000000: 56 6f 6c 20 31 35 20 56  69 6f 6c 69 6e 20 73 6f  Vol 15 Violin so
000010: 6e 61 74 61 73 20 28 47  72 75 6d 69 61 75 78 20  natas (Grumiaux
000020: 61 2e 6f 2e 29 2f 63 64  20 31 2f 31 33 20 2d 20  a.o.)/cd 1/13 -
000030: 31 32 20 56 61 72 69 61  74 69 6f 6e 73 20 69 6e  12 Variations in
000040: 20 47 20 4b 56 33 35 39  2d 33 37 34 61 20 6f 6e   G KV359-374a on
000050: 20 5b 4c 61 20 42 65 72  67 e8 72 65 20 43 e9 6c   [La Berg³re C³l
000060: 69 6d e8 6e 65 5d 2e 6d  70 33 0a                 im³ne].mp3␊
$

The filename in question contains character sequences that are not valid utf-8, they are instead valid ISO-8859-1. With normal locale processing find joins the set of linux utilities that now act in a completely brain dead manner on a system that uses multiple character
sets.

--
Rob.                          (Robert de Bath <robert$ @ debath.co.uk>)
                                             <http://www.debath.co.uk/>

Reply via email to