convert code to utf-8