change edit code to UTF-8