Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding: SJIS
- # ruby 1.9.3p0 (2011-10-30) [i386-mingw32]
- puts "8160:WAVE DASH " << "~".encode("CP932").prepend("[ ").concat(" ]")
- puts "8161:DOUBLE VERTICAL LINE " << "∥".encode("CP932").prepend("[ ").concat(" ]")
- puts "817C:MINUS SIGN " << "-".encode("CP932").prepend("[ ").concat(" ]")
- puts "8191:CENT SIGN " << "¢".encode("CP932").prepend("[ ").concat(" ]")
- puts "8192:POUND SIGN " << "£".encode("CP932").prepend("[ ").concat(" ]")
- puts "81CA:NOT SIGN " << "¬".encode("CP932").prepend("[ ").concat(" ]")
- # => 8160:WAVE DASH [ ~ ]
- # => 8161:DOUBLE VERTICAL LINE [ ∥ ]
- # => 817C:MINUS SIGN [ - ]
- # => 8191:CENT SIGN [ ¢ ]
- # => 8192:POUND SIGN [ £ ]
- # => 81CA:NOT SIGN [ ¬ ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement