Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
LoadError with compiled multi-byte symbol #4659
run with jruby 188.8.131.52
compile and run with jruby 184.108.40.206
The fix from #4662 sort of makes this no longer totally fail but it is broken because we save a string without knowing the encoding and then read it back into the file.coding j.l.String. Symbol assumes iso8859_1 so it gets bungled.
I marked this against 9.2 since we have 2 side branches changing our internals to be based on either (ByteList or RubySymbol - an ongoing discussion). What we have to date is pushing a ByteList through the parser. So we have proper encoding info at our disposal we just need to convert the planet to using what format we pick and all will be fixed for good.