encode_utf8 when output document item