Sounds like this might be a bug in Buffer - it should cope just fine with
the UTF-8 BOM.
BTW: A SAX parser expecting a string could also be called a bug - all valid
XML parsers MUST accept UTF-8 and UTF-16 with valid byte order markers.
Matt.
On Fri, Jul 27, 2012 at 7:14 PM, Angelo Chen
I use this one:
https://github.com/racker/node-elementtree
which in turn use:
https://github.com/isaacs/sax-js
On Jul 28, 8:09 pm, Matt hel...@gmail.com wrote:
Sounds like this might be a bug in Buffer - it should cope just fine with
the UTF-8 BOM.
BTW: A SAX parser expecting a string could