Hi,
I was wondering if someone could take a look at ticketJRUBY-6288and
hopefully reopenit. I’ve added a couple of new comments.
http://jira.codehaus.org/browse/JRUBY-6288
Encoding::CompatibilityError: incompatible character encodings: UTF-8
and ASCII-8BIT
from org/jruby/RubyString.java:3014:in `gsub’
We have run into this in a couple of other cases and reworked the code
to avoid it, but it seems worth looking in to. As noted in the defect it
only happens with JRuby, not MRI.
Thanks,
Tom