[1.9] String.inspect produces wrong output on UTF-8 string
----------------------------------------------------------

                 Key: JRUBY-5809
                 URL: http://jira.codehaus.org/browse/JRUBY-5809
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.6.1
         Environment: Windows 7 SP1 x64, Java 1.6.0_21, JRuby 1.6.1 (1.9 mode)
            Reporter: Maxim Sokolovsky
         Attachments: test_string_inspect.rb

When inspect applied to UTF-8 string with unicode chars - JRuby produces 
per-byte notation, like "\xD0\xBF", while MRI Ruby 1.9.2 uses per-char 
notation, like "\u043F".

I put minitest-bases test in attachment. If you doesn't accept minitest - write 
please which test framework should I use.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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