4 ms·
It's not though. Replacing invalid byte sequences is not terribly difficult. https://golang.org/src/strings/strings.go?s=15854:15900#L627 https://golang.org/sr
by smasher164 7y ago
It's not though. Replacing invalid byte sequences is not terribly difficult.
https://golang.org/src/strings/strings.go?s=15854:15900#L627 https://golang.org/src/strings/strings.go?s=15854:15900#L627.
- samatman 7y agoWe are agreeing, the part I was indicating is difficult is 'displaying gibberish'. Knowing what constitutes a grapheme cluster is detailed and frequently changes.