jruby.exe + multibyte-character is broken
-----------------------------------------

                 Key: JRUBY-4910
                 URL: http://jira.codehaus.org/browse/JRUBY-4910
             Project: JRuby
          Issue Type: Bug
          Components: Application Error
    Affects Versions: JRuby 1.6
         Environment: WindowsXPSP3, Windows2003, Windows2008
jruby1.4.0-1.6.0
            Reporter: tamoot
         Attachments: output_utf8n.txt

Through jruby.exe, multibyte argument is broken in windows.

My code is below.
{quote}
ARGV.each_with_index do |arg, index|
  print "#\{"%02d: " % 
index\}\t\#\{arg\}\t=unpack=>\t\[\#\{arg.unpack('C*').join(", ")\}\]\n"
end
{quote}

Using windows-31 encoding, 1.3.1 works well, but 1.6.0 can't use multibyte 
arguments.

I attached result on 1.3.1, 1.6.0, and CRuby 1.8.7 .

-- 
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