Via /u/Tarmen, we have a bug report posted on Reddit. The relevant piece seems to be:
...on windows the error reporting breaks with
*** Failed! Falsifiable (after 15 tests and 6 shrinks):
┌──────────────┐ ┌─────────────────────┐
│ Inputs ├───┤ Demand on result │
├──────────────┤ ├─────────────────────┤
│ StrictCheckTest.EXE: <stdout>: commitBuffer: invalid argument (invalid character)
I suspect this is due to issues with Unicode text handling. The crash occurs right before StrictCheck would ordinarily print the Unicode bullet character • (U+2022).
A search of bug reports seems to indicate this is a locale issue, in particular this StackOverflow answer says that this issue might be resolved by runningsetLocaleEncoding utf8 before printing text. It references the documentation for GHC.IO.Encoding, as noted in part of the Hakyll FAQ.
Via /u/Tarmen, we have a bug report posted on Reddit. The relevant piece seems to be:
I suspect this is due to issues with Unicode text handling. The crash occurs right before StrictCheck would ordinarily print the Unicode bullet character
•(U+2022).A search of bug reports seems to indicate this is a locale issue, in particular this StackOverflow answer says that this issue might be resolved by running
setLocaleEncoding utf8before printing text. It references the documentation forGHC.IO.Encoding, as noted in part of the Hakyll FAQ.