URL: <https://savannah.gnu.org/bugs/?67135>
Summary: find -ls output is ASCII-only even in UTF-8 locales
Group: findutils
Submitter: ametzler
Submitted: Sa 17 Mai 2025 13:15:14 CEST
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.9.0
Fixed Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sa 17 Mai 2025 13:15:14 CEST By: Andreas Metzler <ametzler>
Hello,
this was originally reported as <https://bugs.debian.org/1105742>.
find -ls is too conservative in quoting, -ls basically quotes everything
non-ascii instead of looking at LC_CTYPE
ametzler@argenau:/tmp/testggf$ locale | grep CTY
LC_CTYPE="de_AT.UTF-8"
ametzler@argenau:/tmp/testggf$ touch Österreich
ametzler@argenau:/tmp/testggf$ find -type f -ls
175 0 -rw-rw-r-- 1 ametzler ametzler 0 Mai 17 13:02
./\303\226sterreich
ametzler@argenau:/tmp/testggf$ /bin/ls -l
total 0
-rw-rw-r-- 1 ametzler ametzler 0 17. Mai 13:02 Österreich
cu Andreas
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67135>
_______________________________________________
Nachricht gesendet über Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
