mysociety/alaveteli — pull request #1362 by wombleton (2014-03-01 10:41:28+00:00)
Title: Handle Encoding::UndefinedConversionError

Ruby > 1.9 seems to throw `UndefinedConversionError` with a bad conversion instead of `ArgumentError`. c.f. http://ruby-doc.org/core-2.0/String.html#method-i-encode