Patrick Ritchie created JRUBY-6582:
--------------------------------------

             Summary: Encoding when using '%' inconsistent with MRI 1.9
                 Key: JRUBY-6582
                 URL: https://jira.codehaus.org/browse/JRUBY-6582
             Project: JRuby
          Issue Type: Bug
          Components: Encoding
    Affects Versions: JRuby 1.6.7
            Reporter: Patrick Ritchie
         Attachments: jruby_encoding_test.rb, utf8_file

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to