@@ -3,6 +3,27 @@ title: FAQ
3author: Jasper Van der Jeugt
3author: Jasper Van der Jeugt
6+## "hGetContents: invalid argument" or "commitBuffer: invalid argument"
8+If you get any of the errors:
10+ commitBuffer: invalid argument (invalid character)
14+ hGetContents: invalid argument (Invalid or incomplete multibyte or wide
17+It means that your Hakyll executable couldn't write to (in the former case) or
18+read (in the latter) from an UTF-8 encoded file.
20+On most linux distros, you can solve this by setting your `LANG` to use UTF-8,
23+ LANG=nl_BE.UTF-8 ./site build
25+You should also add this to your `.profile`, or whatever config file you use.
6## "File name does not match module name" on Mac OS
27## "File name does not match module name" on Mac OS
8 Hakyll.hs:1:1:
29 Hakyll.hs:1:1: