Use encoding for reading source files

Just hit me that the given encoding from #12 should be used for reading the file too.