hGetContent says invalid byte sequence on Windows, non-English locale
Open
- Dominant language
- Haskell
- Stars
- 322
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
Before doing this `readFile`:
https://github.com/simonmar/happy/blob/27596ff0ce0171d485bf96d38943ffc760923c90/src/Main.lhs#L72-L74
we may do `hSetEncoding h IO.utf8` before.
See https://github.com/agda/agda/issues/4161#issuecomment-548085906
Contributor guide
Assessment
This issue has not been assessed yet.