rewrite and convert utf-8 to shift_jis