
#2507: quotation characters in error messages -------------------------------------+------------------------------------ Reporter: Isaac Dupree | Owner: Type: feature request | Status: closed Priority: lowest | Milestone: 7.6.2 Component: Compiler | Version: 6.8.3 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: #2811,#3398 -------------------------------------+------------------------------------ Comment (by refold): Replying to [comment:17 igloo]:
Done
It looks like it's not possible to disable unicode quotes with `LANG=C` (at least on my system, Ubuntu 12.04): {{{ $ env LANG=C ~/bin/ghc-head/bin/ghci Prelude GHC.IO.Encoding GHC.Foreign System.IO> let str = "‛’"
let enc = localeEncoding (withCString enc str $ \cstr -> do { str' <- peekCString enc cstr; return (str == str') }) True }}}
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/2507#comment:18 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler