Created
February 4, 2013 21:10
-
-
Save mando/4709744 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[~]$ ruby -Ku -e 'puts "Kevin Sjöberg".bytes.to_a.inspect' [ruby-1.8.7-p358] | |
[75, 101, 118, 105, 110, 32, 83, 106, 195, 182, 98, 101, 114, 103] | |
[~]$ ruby scratch.rb "Kevin Sjöberg" [ruby-1.8.7-p358] | |
[75, 101, 118, 105, 110, 32, 83, 106, 195, 182, 98, 101, 114, 103] | |
[~]$ [ruby-1.8.7-p358] | |
[~]$ cat scratch.rb [ruby-1.8.7-p358] | |
#!/usr/bin/env ruby -Ku | |
puts ARGV[0].bytes.to_a.inspect | |
[75, 101, 118, 105, 110, 32, 83, 106, 111, 204, 136, 98, 101, 114, 103] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment