Commit graph

7 commits

Author SHA1 Message Date
Joey Hess
72d2684016 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. 2011-03-12 15:30:17 -04:00
Joey Hess
5a50a7cf13 update unicode FilePath handling
Based on http://hackage.haskell.org/trac/ghc/ticket/3307 ,
whether FilePath contains decoded unicode varies by OS.
So, add a configure check for it.

Also, renamed showFile to filePathToString
2011-02-11 15:37:37 -04:00
Joey Hess
0fef480bca update 2011-02-10 14:58:09 -04:00
Joey Hess
52fa424fae update 2011-02-10 14:45:35 -04:00
Joey Hess
fe55b4644e Fix display of unicode filenames.
Internally, the filenames are stored as un-decoded unicode.
I tried decoding them, but then haskell tries to access the wrong files.
Hmm.

So, I've unhappily chosen option "B", which is to decode filenames before
they are displayed.
2011-02-10 14:21:44 -04:00
Joey Hess
6c58a58393 details.. 2010-12-28 15:28:23 -04:00
http://christian.amsuess.com/chrysn
61b7f3dea3 but report on umlaut handling 2010-12-22 11:52:16 +00:00