Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.7
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Encoding
-
Number of attachments :
Description
This gist explains the issue:
https://gist.github.com/2314158
In a nutshell if a US-ASCII source file is passed a UTF-8 string and tries to merge it with a local string using '%' jruby performs differently than 1.9 and also differently from '+' in jruby. I would expect consistent behavior with MRI.
This is causing real world encoding bugs for me. Any library using '%' in a US-ASCII source file will garble any UTF-8 strings passed in.