Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.0.1
-
Fix Version/s: JRuby 1.1.4
-
Component/s: Core Classes/Modules
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
A call of b.unpack("U2") should return two characters, but returns only one.
- three characters 'ä'
b = [0xC3,0xA4, 0xC3,0xA4, 0xC3,0xA4].pack("C*") - should result in two charachters, currently 1
b.unpack("U2")
A patch which solves the problem is attached
Two things for you: