Examples using... utf8.ValidRune()

Recent
ValidRune reports whether r can be legally encoded as UTF-8. Code points that are out of range or a surrogate half are illegal.