Rethink filename encoding handling for display. Since filename encoding may or may not match locale settings, any attempt to decode filenames will fail for some files. So instead, do all output in binary mode.

This commit is contained in:
Joey Hess 2011-03-12 15:30:17 -04:00
parent 9229d182d3
commit 72d2684016
12 changed files with 37 additions and 36 deletions

13
debian/changelog vendored
View file

@ -1,15 +1,12 @@
git-annex (0.23) UNRELEASED; urgency=low
git-annex (0.23) unstable; urgency=low
* Support ssh remotes with a port specified.
* whereis: New subcommand to show where a file's content has gotten to.
* Haskell's IO layer crashes on characters > 255 when in a non-unicode
locale. Until Haskell gets better behavior, put in an admittedly
ugly workaround for that: git-annex forces utf8 output mode no matter
what locale is selected. So if you use a non-utf8 locale, your
filenames with characters > 127 will not be displayed as you'd expect.
But at least it won't crash.
* Rethink filename encoding handling for display. Since filename encoding
may or may not match locale settings, any attempt to decode filenames
will fail for some files. So instead, do all output in binary mode.
-- Joey Hess <joeyh@debian.org> Sat, 05 Mar 2011 15:39:13 -0400
-- Joey Hess <joeyh@debian.org> Sat, 12 Mar 2011 15:02:49 -0400
git-annex (0.22) unstable; urgency=low