You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JRuby 1.7.11:
:"\u1234".inspect
ArgumentError: invalid byte sequence in US-ASCII
from org/jruby/RubySymbol.java:264:in inspect' from org/jruby/RubySymbol.java:253:ininspect'
from (irb):1:in evaluate' from org/jruby/RubyKernel.java:1121:ineval'
from org/jruby/RubyKernel.java:1521:in loop' from org/jruby/RubyKernel.java:1284:incatch'
from org/jruby/RubyKernel.java:1284:in catch' from /home/simon/.rvm/rubies/jruby-1.7.11/bin/irb:13:in(root)'
The text was updated successfully, but these errors were encountered:
Seems that US-ASCII is hard-coded somewhere for Symbol#inspect.
MRI 1.9.3-p484, 2.0.0-p353, 2.1.0:
:"\u1234".inspect
=> ":ሴ"
JRuby 1.7.11:
:"\u1234".inspect
ArgumentError: invalid byte sequence in US-ASCII
from org/jruby/RubySymbol.java:264:in
inspect' from org/jruby/RubySymbol.java:253:in
inspect'from (irb):1:in
evaluate' from org/jruby/RubyKernel.java:1121:in
eval'from org/jruby/RubyKernel.java:1521:in
loop' from org/jruby/RubyKernel.java:1284:in
catch'from org/jruby/RubyKernel.java:1284:in
catch' from /home/simon/.rvm/rubies/jruby-1.7.11/bin/irb:13:in
(root)'The text was updated successfully, but these errors were encountered: