6 ms·
Looks like "...validate UTF-8 strings in Node.js" is a more accurate title, as valid8 runs on Node.js and the other uses a Node.js std library function. The Tex
by d3w4s9 3y ago
Looks like "...validate UTF-8 strings in Node.js" is a more accurate title, as valid8 runs on Node.js and the other uses a Node.js std library function. The TextDecoder method should work in the browser, but I don't see why you want to do this kind of validation in the browser.