Jeffrey L. Taylor wrote:
> I am parsing XML streams with ruby-libxml using the XML::Reader class.
> Several have invalid UTF-8 characters.  I need a tutorial or at least some
> hints on how to recover and continue the parsing.

Why not scrub them with Ruby's built-in iconv first?

And what are they doing to you and ruby-libxml? I have found libxml2 
suspiciously forgiving, so far...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to