unicode/utf8: document specification #31590
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
The
utf8
package merely documents that it "supports text encoded in UTF-8", but doesn't point to any external sources for what "UTF-8" exactly is. I'm not an expert in this area, but my understanding is that UTF-8 is formally defined in RFC 3629. Is that true?Furthermore, does the
Valid
function implement validation for merely the syntax of UTF-8 encoding (section 4) or a validation of the "definition" of UTF-8 (section 3)? The code seems to suggest that it is the later. The godoc does not make this clear to me and probably should be documented.The text was updated successfully, but these errors were encountered: