#609: ghc-pkg dump encoding
----------------------------+-----------------------------------------------
Reporter: igloo | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: HEAD
Severity: normal | Resolution:
Keywords: | Difficulty: unknown
Ghcversion: | Platform:
----------------------------+-----------------------------------------------
Comment (by guest):
GHC now always uses UTF-8 for the output of `ghc-pkg dump`, and the input
to `ghc-pkg register` and `ghc-pkg update`.
{{{
Wed Nov 25 06:17:30 PST 2009 Simon Marlow <[email protected]>
* Use UTF-8 explicitly for InstalledPackageInfo
So ghc-pkg register/update takes input in UTF-8, and ghc-pkg dump
outputs in UTF-8. Textual package config files in the package DB are
assumed to be in UTF-8.
M ./utils/ghc-pkg/Main.hs -7 +26
}}}
This patch will be merged into 6.12.1.
Also the double-free error reported above is fixed.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/609#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel