Fix string conversions in ghc-pkg to be correct w.r.t. Unicode
authorDuncan Coutts <duncan@well-typed.com>
Sun, 24 Aug 2014 21:11:33 +0000 (22:11 +0100)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Fri, 29 Aug 2014 11:39:05 +0000 (12:39 +0100)
commitb00deb7ca4b3cf485252779f7515776f8f1f95b6
tree40ab682b3c5d63d33387b07ac179e1a6553af388
parentc72efd7cee77d5f934bbede4ddf680ea348467db
Fix string conversions in ghc-pkg to be correct w.r.t. Unicode

Similar change to that on the ghc library side in the previous patch.
The BinaryStringRep class has to use a ByteString in UTF8 encoding.
utils/ghc-pkg/Main.hs