From: Axel Etzold Date: 2009-08-22T22:56:44+09:00 Subject: Re: Ignore Iconv::IllegalSequence while using Ruby WWW::Mechaniz -------- Original-Nachricht -------- > Datum: Sat, 22 Aug 2009 20:41:49 +0900 > Von: Rodion Raskolnikov > An: ruby-talk@ruby-lang.org > Betreff: Ignore Iconv::IllegalSequence while using Ruby WWW::Mechaniz > Hello, I've encountered the Iconv::IllegalSequence error on some web > pages when using mechanize lib. Is there a way to make mechanize just > omit ill encoded characters and return the "cut" page? TIA > -- > Posted via http://www.ruby-forum.com/. Dear Rodion, there is an IGNORE option in Iconv : http://groups.google.com/group/ruby-talk-google/browse_thread/thread/96c75d3587012556 Your output might (also) depend on some settings of your operating system, language locale etc. For instance, on Ubuntu 9.04, Ruby 1.8.7-p160, the second conversion in the code in the link above gives me "caff?" instead of "caff`e", which is apparently a Ubuntu-specific thing. Look for some discussion here: http://aspn.activestate.com/ASPN/Mail/Message/ruby-talk/3189105 Best regards, Axel -- GRATIS f�r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01