iterationlabs/guess_html_encoding — pull request #3 by jrust (2012-08-23 19:40:30+00:00)
Title: Nil data causes TypeError exception

Our crawler sometimes returns nil for the page content which causes #encode to raise an exception when trying to #dup. This fixes that and adds some tests for the error.