haskell / haskell/happy

hGetContent says invalid byte sequence on Windows, non-English locale

Open
#157 4 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.