Skip to content

Instantly share code, notes, and snippets.

@redinger
Created Aug 20, 2010
Embed
What would you like to do?
ruby 1.8.7
>> [1, 88, 132, 78, 74].pack("C5")
=> "\001X\204NJ"
ruby 1.9.2
>> [1, 88, 132, 78, 74].pack("C5")
=> "\x01X\x84NJ"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment