let set_text_direct ?(encoding=String.ENCODING_UTF8) t text = set_text_direct' t encoding text