Skip to content

error messages mangle unicode characters

ghc/ghci understand source code written in UTF-8. However, an error message that contains such characters will turn them into gibberish. This is especially annoying in ghci:

*> ä

<interactive>:1:0: Not in scope: `�'
*> Ȫ

<interactive>:1:0: Not in scope: data constructor `*'
Trac metadata
Trac field Value
Version 6.8.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information