DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
utf8.EncodeRune()
Examples using...
utf8.EncodeRune()
Recent
Examples
EncodeRune in Go
by GoDoc
Go
utf8.EncodeRune
fmt.Println
fmt
unicode/utf8
EncodeRune writes into p (which must be large enough) the UTF-8 encoding of the rune. It returns the number of bytes written.