Fix reading files when the system uses a non-UTF8 encoding
readFile uses the system locale encoding by default, wich may break reading the UTF8 file if it is not UTF8. Should open a handle, forcing UTF8, and the use hGetContents or smthg.
readFile uses the system locale encoding by default, wich may break reading the UTF8 file if it is not UTF8. Should open a handle, forcing UTF8, and the use hGetContents or smthg.