jugyo/earthquake — pull request #139 by frasertweedale (2012-09-13 08:58:45+00:00)
Title: work around JRuby String.encode! issue

JRuby 1.6.7.2 (Ruby 1.9 mode) seems to have a bug in String.encode!
resulting in Encoding::ConverterNotFoundError being raised, however,
String.encode does not have this problem.

Call String.encode rather than String.encode! to dispel this error.