Changing encoder for reading the log file to utf-8. Afterwards, all non-ASCII characters are removed.