Skip to content
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

Use external when windows filesystem encoding is not found #5733

merged 2 commits into from May 17, 2019


Copy link

@headius headius commented May 15, 2019

If the file.encoding property does not point at an encoding we recognize, such as "MS950" from #5707, we would hard error during JRuby initialization. This PR modifies that behavior to fall back on whatever we determine is the default external encoding.

This mitigates the error seen in #5707 but it may not match CRuby behavior exactly.

cc @enebo @lopex

@headius headius added this to the JRuby milestone May 15, 2019
@headius headius force-pushed the default_windows_filesystem_encoding branch from bf8cf1e to d015f56 May 16, 2019
@headius headius merged commit 1adb37f into jruby:master May 17, 2019
1 of 2 checks passed
@headius headius deleted the default_windows_filesystem_encoding branch May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant