go/src/unicode
Ainar Garipov a3868028ac unicode/utf8: document the handling of runes out of range in EncodeRune
Document the way EncodeRune currently handles runes which are
out of range.  Also add an example showing that behaviour.

Change-Id: I0f8e7645ae053474ec319085a2bb6d7f73bc137c
Reviewed-on: https://go-review.googlesource.com/c/go/+/255998
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Giovanni Bajo <rasky@develer.com>
Trust: Giovanni Bajo <rasky@develer.com>
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Go Bot <gobot@golang.org>
2020-09-19 09:43:15 +00:00
..
utf8 unicode/utf8: document the handling of runes out of range in EncodeRune 2020-09-19 09:43:15 +00:00
utf16
casetables.go
digit.go
digit_test.go
example_test.go
graphic.go
graphic_test.go
letter.go unicode: update table using new generator in x/text 2019-04-24 15:22:37 +00:00
letter_test.go
script_test.go
tables.go unicode: upgrade to Unicode 13.0.0 2020-08-20 13:41:13 +00:00