We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Having the returned string be different encoding than the input string to File.basename seems like a bug.
% rvm 2.1.4,126.96.36.199 do ruby test.rb
# Ruby 2.1.4
# JRuby 188.8.131.52
# encoding: Windows-31J
x = "/hello/world"
The text was updated successfully, but these errors were encountered:
Originally reported in Logstash: elastic/logstash#2155
Sorry, something went wrong.
A bug indeed.
Preserve incoming encoding in File.basename. Fixes #2259.
Thanks so much! <3
No branches or pull requests