[Hackage] #830: Use wide Windows APIs in Cabal
#830: Use wide Windows APIs in Cabal -----------------------------+---------------------------------------------- Reporter: batterseapower | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: | -----------------------------+---------------------------------------------- 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: 1. Use wide (UTF-16) APIs to retrieve file paths 2. 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. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/830> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#830: Use wide Windows APIs in Cabal -----------------------------+---------------------------------------------- Reporter: batterseapower | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: -----------------------------+---------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Applied thanks. {{{ Mon Apr 11 22:07:58 BST 2011 Max Bolingbroke <batterseapower@hotmail.com> * Unicode: use wide APIs on Windows and withFilePath on GHC }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/830#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#830: Use wide Windows APIs in Cabal -----------------------------+---------------------------------------------- Reporter: batterseapower | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: unknown Ghcversion: | Platform: -----------------------------+---------------------------------------------- Comment(by elga): * [http://www.releve-identite-operateur.fr/numbero-de-virgin-mobile.html virgin mobile] -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/830#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage