|
From: | Clarence Risher |
Subject: | [bug #46846] failure due to filename encoding and locale on OSX |
Date: | Thu, 07 Jan 2016 22:22:31 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36 |
URL: <http://savannah.gnu.org/bugs/?46846> Summary: failure due to filename encoding and locale on OSX Project: findutils Submitted by: sparr Submitted on: Thu 07 Jan 2016 10:22:30 PM GMT Category: updatedb 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.4.2 Fixed Release: None _______________________________________________________ Details: I've installed updatedb via Homebrew and encountered this problem: $ sudo updatedb /usr/bin/sort: string comparison failed: Illegal byte sequence /usr/bin/sort: Set LC_ALL='C' to work around the problem. /usr/bin/sort: The strings compared were `/LIBRARY/FONTS/ō\216Ɩ\207ǻ\206ɻ\221.TTF' and `/LIBRARY/FONTS/ō\216Ɩ\207ɻ\221Ľ\223.TTF'. here are some possibly valid environment settings: $ locale LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL= $ env | egrep '^(LANG=|LC_)' | sort LANG=en_US.UTF-8 downstream report: https://github.com/Homebrew/homebrew/issues/47791 my temporary workaround is to just `export LC_ALL="C"` at the top of the updatedb script _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46846> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |