Use UTF-8 explicitly for InstalledPackageInfo
authorSimon Marlow <marlowsd@gmail.com>
Wed, 25 Nov 2009 14:17:30 +0000 (14:17 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 25 Nov 2009 14:17:30 +0000 (14:17 +0000)
commit470bb3448a87aec8af06ce0c05c65cb3bb7a72ec
tree28c9562cd18fb27861fd5d08722fa7b3f6877072
parent855d87925b0049d23e536c12b9af8e1b545e28f0
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.
utils/ghc-pkg/Main.hs