From: Simon Marlow Date: Wed, 26 Aug 2009 10:40:52 +0000 (+0000) Subject: Fix part of #3398: pretty-printing always goes via the I/O library encoding X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=3ce0e4990f5a40dd989435b41cad279d347a047d;hp=3ce0e4990f5a40dd989435b41cad279d347a047d;p=ghc-hetmet.git Fix part of #3398: pretty-printing always goes via the I/O library encoding That is, unless we're printing in LeftMode, where we bypass encoding for speed. This is safe, because LeftMode is used for outputting C or asm, where everyting is Z-encoded and hence ASCII. Error messages and other compiler output containing Unicode will now appear correctly according to the locale settings. ---