Details

    • Number of attachments :
      2

      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.

      1. jruby_encoding_test.rb
        0.2 kB
        Patrick Ritchie
      2. utf8_file
        0.0 kB
        Patrick Ritchie

        Activity

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Patrick Ritchie
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: