#3443: GHCi produces a panic on printing and escaped GBP sign, and won't print
gbp
sign either
-------------------+--------------------------------------------------------
Reporter: yb2 | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.10.4 | Severity: normal
Keywords: | Testcase:
Os: Linux | Architecture: x86
-------------------+--------------------------------------------------------
Prelude> putStrLn "£"
�
Prelude> putStrLn "\£"
ghc: panic! (the 'impossible' happened)
(GHC version 6.10.4 for i386-unknown-linux):
charType: '\163'
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
---
I've also compiled a bit of code with GHC that can't output GBP symbol
either.
---
Tested with Hugs for comparison,
Hugs> putStrLn "£"
£
Hugs> putStrLn "\£"
ERROR - Illegal character escape sequence "\�"
---
I tested the outputting (not the escaping) in roxterm and xterm, and both
output the question mark in a diamond symbol.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3443>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs