-
-
Save DriesS/d65c15a2238c3f2a7844 to your computer and use it in GitHub Desktop.
Export ruby ascii
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
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % echo $LC_CTYPE | |
nl_BE.UTF-8 | |
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % ruby -e 'p __ENCODING__' | |
#<Encoding:UTF-8> | |
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % vi test.rb | |
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % cat test.rb | |
puts "éllo" | |
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % ruby test.rb | |
test.rb:1: invalid multibyte char (US-ASCII) | |
test.rb:1: invalid multibyte char (US-ASCII) | |
dries@MBP-dries ~/Sites/bentostore (feature/ruby_1.9.2*) % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment