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
Backport recent File.expand_path and basename encoding fixes #3885
The #3866 fix is mostly isolated from joni transcoding, but the #3877 fix would require 1.7 to start using joni for at least the encoding of java.lang.String to unusual target encodings (like Windows-1250).
I started wotking on #3866 but there have been refactorings on 9.1 to negotiate, and there's missing fixes for e.g. the "filesystem" encoding. With all of #3866 naively ported, I was getting NPEs due to a null filesystem encoding.
Regardless, I don't believe it would be a lot of work to get both fixes ported appropriately.