Skip to content
  • Simon Marlow's avatar
    Fix part of #3398: pretty-printing always goes via the I/O library encoding · 3ce0e499
    Simon Marlow authored
    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.
    3ce0e499