From julien.genestoux at gmail.com Sun Jan 16 11:58:29 2011 From: julien.genestoux at gmail.com (Julien Genestoux) Date: Sun, 16 Jan 2011 08:58:29 -0800 Subject: [Nokogiri-talk] Force Nokogiri Sax Parser to ignore the encoding in the feed declarartion? Message-ID: Hello, We use a Sax Push parser to parse an incoming XML stream of data. I see that that nokogiri encodes the string in the encoding defined in the XML declaration. Yet, for some reason, we have cases where this encoding differs from the actual encoding (we don't control the stream's source and yes, they're doing a bad job). Is there a way to force Nokogiri to ignore the encoding in the xml declaration and just use the encoding of the strings that are fed to a Sax Push Parser? Thanks, Julien -------------- next part -------------- An HTML attachment was scrubbed... URL: