-
jaffathecake new TextEncoder().encode(node.childNodes[0].data); // #text node - has the wrong Uint32Array length when compared to another method—
-
jaffathecake —in that I suspect because the content is _already_ UTF8 encoded as a DOMString, the source is wrong in the first place.