Fixed utf8 encoding for non codecs files.