force encoding to utf-8 to make shell redirection happy