back to utf8 for js