We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRI currently supports UTF-8 symbols:
x = :"\u{3042}" # => :あ
However, JRuby always treats symbols as US-ASCII, resulting in things like encoding errors when trying to inspect one:
> x = :"\u{3042}" ArgumentError: invalid byte sequence in US-ASCII from org/jruby/RubySymbol.java:221:in `inspect'
This is a source of a number of errors in the new stdlib test suite.
The text was updated successfully, but these errors were encountered:
For some reason I think we have an issue for this but I don't see it offhand :)
Sorry, something went wrong.
Fixes #2172 on 1.9 and only for interpreted mode
d5b70fd
JIT changes for Symbol encoding issue #2172.
2d62cd2
This is fixed on 1.7 now but we also need equivalent changes on master. We might try and more elegantly do this on master. Leaving open for now.
tests now passing from #2172 getting fixed
ff3d32c
89f548e
No branches or pull requests
MRI currently supports UTF-8 symbols:
However, JRuby always treats symbols as US-ASCII, resulting in things like encoding errors when trying to inspect one:
This is a source of a number of errors in the new stdlib test suite.
The text was updated successfully, but these errors were encountered: