
#8118: <stdout>: commitAndReleaseBuffer: invalid argument (invalid character) -------------------------------------+------------------------------------- Reporter: guest | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Runtime crash | Test Case: Blocked By: | Blocking: Related Tickets: #5666 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by HairyDude): This gets correct output: {{{ import GHC.IO.Encoding import System.Win32.Console main = do ... setLocaleEncoding utf8 setCOnsoleOutputCP 65001 ... }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8118#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler