-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
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
LoadError with compiled multi-byte constant #4662
Comments
Confirmed on master. |
Actual error...may be an IR persistence bug. @enebo?
|
Just a recap that encoding was done using String.length() and then dumping the bytes. length() reports characters so derp....fwiw this is not a regression as it has always been coded this way (well 1.7 may have worked but it was a completely different code base for AOT). This is still likely to break in scenarios where the mbc string is not UTF-8 and JVM file.coding is not UTF-8. 9.2 will address this pervasively as we will be passing ByteList or RubySymbol around and stop using j.l.String altogether. |
…on are sometimes different from CRuby.
multibyteconst.rb
run with jruby 9.1.9.0
compile and run with jruby 9.1.9.0
The text was updated successfully, but these errors were encountered: