Created
August 31, 2011 19:54
-
-
Save coldnebo/1184533 to your computer and use it in GitHub Desktop.
[FIXED] ruby encodings... can we word this error differently?
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
$ irb | |
ruby-1.9.2-p180 :001 > "“" | |
=> "“" | |
ruby-1.9.2-p180 :002 > "“".encoding | |
=> #<Encoding:UTF-8> | |
ruby-1.9.2-p180 :003 > "\“" | |
SyntaxError: (irb):7: invalid multibyte char (UTF-8) | |
(irb):7: invalid multibyte char (UTF-8) | |
from /local/rvm/rubies/ruby-1.9.2-p180/bin/irb:16:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good one..Clear explanation..Thanks to the author..
i've wrote an article on the RUBY INVALID MULTI BYTE!
http://www.wikitechy.com/fix-error/ruby-invalid-multi-byte-character
Please visit :)