Examples using... utf8.EncodeRune()

Recent
EncodeRune writes into p (which must be large enough) the UTF-8 encoding of the rune. It returns the number of bytes written.