Forum: JRuby Reopen JRUBY-6288 'incompatible character encodings: ASCII-8BIT and UTF-8'

Posted by Thomas Beauvais (Guest)
on 2012-11-08 23:54
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.