rewrite and convert utf-8 to sjis