ghc-cabal: force use of UTF8 when writing out `haddock-prologue.txt`
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 23 Mar 2014 12:33:03 +0000 (13:33 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sun, 23 Mar 2014 12:33:03 +0000 (13:33 +0100)
commit8f26728a44be395a41d9dd9cb933e8006f5a6dc4
tree3336ebed1413a2d49e4545f25e83d0efa7fed386
parent34b072177b687c8fcc24f87293beae0752e82d32
ghc-cabal: force use of UTF8 when writing out `haddock-prologue.txt`

This unbreaks the GHC build if a non-UTF8 locale such as LANG=C is active

See also haskell/cabal#1721 and haskell/haddock#286

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
utils/ghc-cabal/Main.hs