[Haskell-cafe] printing unicode in Windows console: hPutChar error
Julian Bradfield
jcb at inf.ed.ac.uk
Sat Nov 6 09:56:37 UTC 2021
John Gleeson 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
thanks, Brandon and John.
I imagine the students are using whatever was the obvious thing when
they tried to install Haskell at start of semester. Looks like that
would have been 8.10.7.
I'll try to remember the RTS option for next year's students!
Julian.
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
More information about the Haskell-Cafe
mailing list