Ticket #830 (closed defect: fixed)
Use wide Windows APIs in Cabal
|Reported by:||batterseapower||Owned by:|
As part of my work on GHC's Unicode support ( http://hackage.haskell.org/trac/ghc/wiki/Status/Encoding-Tickets) I identified some potential Unicode problems in Cabal install. The attached patch resolves them:
- Use wide (UTF-16) APIs to retrieve file paths
- Use withFilePath (from base) when marshalling a file path, as this will do the Right Thing when my changes are committed, though it is functionally equivalent to withCAString right now.