sdis-offs issueshttps://gitlab.gnugen.ch/desroche/sdis-offs/-/issues2018-11-22T17:05:34+01:00https://gitlab.gnugen.ch/desroche/sdis-offs/-/issues/1Fix reading files when the system uses a non-UTF8 encoding2018-11-22T17:05:34+01:00Joachim Desrochesjoachim.desroches@epfl.chFix reading files when the system uses a non-UTF8 encodingreadFile 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.