MattHall/truncatehtml — pull request #1 by jmburges (2011-12-24 15:49:05+00:00)
Title: Encoding issue 

So I noticed that some characters like apostrophes were being converted to a bunch of weird characters. This was an issue with encoding, and I think it might be related to the transition to Ruby 1.9.

Anyways, I added in two lines to convert all the ASCII encoding to UTF-8 so nokogiri works correctly.