Skip to content

Instantly share code, notes, and snippets.

@no6v
Created May 12, 2011 14:17
Show Gist options
  • Save no6v/968574 to your computer and use it in GitHub Desktop.
Save no6v/968574 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
RUBY_DESCRIPTION # => "ruby 1.9.3dev (2011-05-11 trunk 31505) [x86_64-linux]"
s = "エンコーディング"
s # => "エンコーディング"
s.inspect # => "\"エンコーディング\""
s.inspect.encoding # => #<Encoding:UTF-8>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment