diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-10-16 15:10:39 -0700 |
---|---|---|
committer | Alec Theriault <alec.theriault@gmail.com> | 2018-10-16 15:14:48 -0700 |
commit | 8d27cc1b185dc36424c4e6dfe5c55c6a25c05028 (patch) | |
tree | 9aab1f2c94d39867dd9a036adf808b3d2110aa0e /haddock-api/src/Haddock/Interface.hs | |
parent | b5372b7d86e3058b419076641dd3048258c4ddf2 (diff) | |
parent | 41d9846754cdccb82e667ece2f44725ed9cab4e7 (diff) |
Merge branch 'ghc-8.6' into ghc-head
Diffstat (limited to 'haddock-api/src/Haddock/Interface.hs')
-rw-r--r-- | haddock-api/src/Haddock/Interface.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Interface.hs b/haddock-api/src/Haddock/Interface.hs index c330c5fe..759d5d03 100644 --- a/haddock-api/src/Haddock/Interface.hs +++ b/haddock-api/src/Haddock/Interface.hs @@ -84,6 +84,7 @@ processModules processModules verbosity modules flags extIfaces = do #if defined(mingw32_HOST_OS) -- Avoid internal error: <stderr>: hPutChar: invalid argument (invalid character)' non UTF-8 Windows + liftIO $ hSetEncoding stdout $ mkLocaleEncoding TransliterateCodingFailure liftIO $ hSetEncoding stderr $ mkLocaleEncoding TransliterateCodingFailure #endif |