Can't unpack binary strings as hex characters
---------------------------------------------

                 Key: JRUBY-2577
                 URL: http://jira.codehaus.org/browse/JRUBY-2577
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.1
         Environment: Windows XP, Java 1.6
            Reporter: Derek Hans
            Priority: Minor


running the following under MRI 1.8.6 prints the expected 0701, while jruby 
1.1.1 prints 0000:

puts [0x701].pack("L").unpack("h4").join.reverse

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