Commit a3868028 authored by Ainar Garipov's avatar Ainar Garipov Committed by Giovanni Bajo
Browse files

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: default avatarRob Pike <r@golang.org>
Reviewed-by: default avatarGiovanni Bajo <rasky@develer.com>
Trust: Giovanni Bajo <rasky@develer.com>
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Go Bot <gobot@golang.org>
parent 73eb24cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment