Wed Aug 26 03:40:52 PDT 2009 Simon Marlow <[email protected]>
* Fix part of #3398: pretty-printing always goes via the I/O library encoding
Ignore-this: 7ce68105539ff38f4853de149a43a1a3
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.
M ./compiler/utils/Pretty.lhs -5 +3
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090826104052-12142-37ec649f03fb3f60c6afa7537e5123afe5558a8d.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc