Skip to content

Unsupported unicode characters crashes the program

If the terminal does not support a character, the program will crash if you try to display it.

main = putStrLn "ms{\2205}"
  • Lib> main

ms{*** Exception: <stdout>: hPutChar: invalid argument (invalid character)

Trac metadata
Trac field Value
Version 8.0.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information