the environment that Debian builds its packags in do not have a specific locale set (after all, the result should depend on the settings of the particular developer building the package). But without an UTF8 locale, your test suite fails:
ERROR: ./test/Unicode.js: hGetContents: invalid argument (invalid byte sequence)
Unfortunately, the encoding of .js files is not specified, so you cannot just change the encoding of the filehandle to utf8 in parseFile. Maybe you should not use parseFile in the test suite, but parseJs and read the file with the correct encoding (which you know) set for the filehandle?
Introduce parseFileUtf8 to explicitly use utf8 for parsing a file, an…
…d update tests to use it where needed. Closes #21