Easton Man's Channel
06:27 · Dec 6, 2023 · Wed
Daniel Lemire's blog
How fast can you validate UTF-8 strings in JavaScript?
Telegraph
|
source
Telegraph
How fast can you validate UTF-8 strings in JavaScript?
When you recover textual content from the disk or from the network, you may expect it to be a Unicode string in UTF-8. It is the most common format. Unfortunately, not all sequences of bytes are valid UTF-8 and accepting invalid UTF-8 without validating it…
Home
Powered by
BroadcastChannel
&
Sepia