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
This commit is contained in:
parent
285fb2bb08
commit
5a50a7cf13
11 changed files with 34 additions and 16 deletions
|
@ -46,7 +46,7 @@ It looks like the common latin1-to-UTF8 encoding. Functionality other than otupu
|
|||
> user's configured encoding), and allow haskell's output encoding to then
|
||||
> encode it according to the user's locale configuration.
|
||||
> > This is now [[implemented|done]]. I'm not very happy that I have to watch
|
||||
> > out for any place that a filename is output and call `showFile`
|
||||
> > out for any place that a filename is output and call `filePathToString`
|
||||
> > on it, but there are really not too many such places in git-annex.
|
||||
> >
|
||||
> > Note that this only affects filenames apparently.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue