[GHC] #14136: Unsupported unicode characters crashes the program
GHC
ghc-devs at haskell.org
Fri Aug 18 10:05:51 UTC 2017
#14136: Unsupported unicode characters crashes the program
--------------------------------------+----------------------------------
Reporter: remote | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
Keywords: | Operating System: Windows
Architecture: x86_64 (amd64) | Type of failure: Runtime crash
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
--------------------------------------+----------------------------------
If the terminal does not support a character, the program will crash if
you try to display it.
{{{#!hs
main = putStrLn "ms{\2205}"
}}}
*Lib> main
ms{*** Exception: <stdout>: hPutChar: invalid argument (invalid character)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14136>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list