Make a public function, yaz_write_UTF8_char, to encode a UTF-8 sequence.