change edit code to utf-8