change char encode to utf-8