Skip to content

Instantly share code, notes, and snippets.

@jarib
Created April 15, 2009 23:19
Show Gist options
  • Save jarib/96095 to your computer and use it in GitHub Desktop.
Save jarib/96095 to your computer and use it in GitHub Desktop.
$ ruby -r stringio -e 's=StringIO.new; s << "æåø"; puts s.string' | xxd
0000000: c3a6 c3a5 c3b8 0a .......
$ jruby -r stringio -e 's=StringIO.new; s << "æåø"; puts s.string' | xxd
0000000: be8c bf0a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment