change log encoding to utf8