aelve / guide

A workspace for research teams
https://guide.aelve.com
106 stars 10 forks source link

Force use of `UTF-8` #211

Closed sectore closed 7 years ago

sectore commented 7 years ago

to avoid issue of hGetContents: invalid argument (invalid byte sequence), which seems to be on Ubuntu only (see discussion at Slack https://aelve.slack.com/archives/C3UQX6F45/p1507399615000050).

Note: Hakyll recommands to do the same thing in its faq "HGETCONTENTS: INVALID ARGUMENT” OR “COMMITBUFFER: INVALID ARGUMENT" https://jaspervdj.be/hakyll/tutorials/faq.html#hgetcontents-invalid-argument-or-commitbuffer-invalid-argument I know we are not using Hakyll :)

neongreen commented 7 years ago

Thanks! (Btw, in the future please make comments a bit more detailed, e.g. it would've been nice to mention that it's a workaround for the hGetContents: invalid argument (invalid byte sequence) error)