[Haskell-cafe] printing unicode in Windows console: hPutChar error

Tom Ellis tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Sat Nov 6 10:06:49 UTC 2021


On Fri, Nov 05, 2021 at 02:30:30PM -0600, John Gleeson via Haskell-Cafe wrote:
> > On Nov 5, 2021, at 12:34, Brandon Allbery <allbery.b at gmail.com> wrote:
> > ´╗┐What version of GHC areyour students using? I believe sufficiently
> > recent versions of ghc (but I don't know which; this may require
> > 9.2.1) have an RTS option to use a new I/O manager, which among other
> > things implements the widechar API for console I/O.
> 
> I found an email from Tamar
> https://mail.haskell.org/pipermail/ghc-devs/2020-July/019053.html
> that says the new Windows I/O manager is available in 8.12+, and is enabled with
> +RTS --io-manager=native

Given that 8.12 doesn't exist I presume the meaning was "the version
after 8.10" which is 9.0.

Tom



More information about the Haskell-Cafe mailing list