[GHC] #14136: Unsupported unicode characters crashes the program

#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

#14136: Unsupported unicode characters crashes the program ----------------------------------+-------------------------------------- Reporter: remote | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #11394 | Differential Rev(s): Wiki Page: | ----------------------------------+-------------------------------------- Changes (by Phyx-): * status: new => closed * resolution: => duplicate * related: => #11394 Comment: Thanks for the report, this is another manifestation of #11394. It happens because we unfortunately don't use native Windows APIs. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14136#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC