FWIW in the modern setting it’s much better to use https://hackage.haskell.org/package/text-2.1.1/docs/Data-Text-IO-Utf8.html

Best regards,
Andrew

On 10 May 2024, at 09:44, Dan Dart <haskellcafe@dandart.co.uk> wrote:

Do you instead want https://hackage.haskell.org/package/text-2.1.1/docs/Data-Text-IO.html ?
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.