widget: edit: support GB18030