-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add IO#set_encoding_by_bom method #2372
Conversation
Hello Pawan Dubey, thanks for contributing a PR to our project! We use the Oracle Contributor Agreement to make the copyright of contributions clear. We don't have a record of you having signed this yet, based on your email address pawan -(dot)- dubey -(at)- shopify -(dot)- com. You can sign it at that link. If you think you've already signed it, please comment below and we'll check. |
Pawan Dubey has signed the Oracle Contributor Agreement (based on email address pawan -(dot)- dubey -(at)- shopify -(dot)- com) so can contribute to this repository. |
e3cd6f2
to
b41bbcd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR!
Method was introduced in MRI in 2.7.0 in e717d6faa
b41bbcd
to
365dfa6
Compare
PullRequest: truffleruby/2704
Part of #2004
Adds the
IO#set_encoding_by_bom
method. Method was introduced in MRI in 2.7.0 in ruby/ruby@e717d6faa.I've basically reproduced the implementation from the MRI commit linked above.