Let's assume UTF8.
Added a test case for utf8 files.