Implement TA61242, set charset as utf-8 on i/o stream.