Ticket #830 (closed defect: fixed)
Use wide Windows APIs in Cabal
| Reported by: | batterseapower | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Cabal library | Version: | HEAD |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | unknown | |
| GHC Version: | Platform: |
Description
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.
Patch attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

