Re: [nodejs] Re: https and xml result

2012-07-28 Thread Matt
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

[nodejs] Re: https and xml result

2012-07-28 Thread 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