update encoding to utf-8