haskell-with-utf8/CHANGELOG.md
Kirill Elagin 40069d4b2b Allow not changing file handles to UTF-8
The old interface only allowed one to perform terminal detection on a
handle and change it to UTF-8 if it was not a terminal. Turns our, it
makes sense to sometimes leave the original encoding on a handle even if
it does not point to a terminal.

* Change the interface to separate these two use-cases.
* Extract main-wrappers to a new `Main` module.
2020-02-17 19:39:40 -05:00

345 B

Changelog

Unreleased

Initial release.

Added

  • withUtf8
  • withStdTerminalHandles
  • setHandleEncoding
  • withHandle
  • setTerminalHandleEncoding
  • withTerminalHandle
  • openFile
  • withFile
  • readFile
  • writeFile