Open seanhess opened 12 years ago
Hi, I'm afraid that this is due to limitations of node_iconv. Now it doesn't support for streamimg stateful encodings AFAIK. You can try to encourage Ben Noordhuis to add this feature to node_iconv: https://github.com/bnoordhuis/node-iconv/issues/7
I have opened a pull request which fixes unneeded invocation of node.iconv
, so if your document is in UTF-8 this might work.
@punund I still encounter this issue, it has been solved ?
When parsing the below data, the first
<p>
node parses, but the second fails with the following error. I can't tell what the difference between the two nodes is. The library looks great otherwise!