
#11529: Show instance of Char should print literals for non-ascii printable charcters -------------------------------------+------------------------------------- Reporter: nushio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nushio): (+1) to suggestion that to change the default interactive printer to display unicode characters nicely. The algorithm in `unicode-show` might be suitable for the purpose, although there should be various opinions on what is the "nice way to print unicode." By the way, if we update the default interactive printer, will we be breaking the `doctests` that `show`s values with unicodes, forcing them to update the expected results from the interpreter? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11529#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler