cinchrb / cinch

The IRC Bot Building Framework
http://www.rubydoc.info/gems/cinch
MIT License
1k stars 180 forks source link

Changed Nokogiri::HTML to Nokogiri.parse to help properly handle UTF-8. #168

Closed Gizmokid2005 closed 10 years ago

Gizmokid2005 commented 10 years ago

Certain Google results pages weren't properly encoded causing a byte sequence error with gsub .rbenv/versions/2.1.1/lib/ruby/2.1.0/cgi/util.rb:60:ingsub': invalid byte sequence in UTF-8 (ArgumentError)`

dominikh commented 10 years ago

Merged as 48ea90d, thank you.