fix encode to utf-8