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

Add IO#set_encoding_by_bom method #2372

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

pawandubey
Copy link
Contributor

@pawandubey pawandubey commented Jun 4, 2021

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.

@graalvmbot
Copy link
Collaborator

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.

@pawandubey pawandubey marked this pull request as ready for review June 4, 2021 19:33
@graalvmbot
Copy link
Collaborator

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.

Copy link
Member

@eregon eregon left a 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!

@eregon eregon added the in-ci The PR is being tested in CI. Do not push new commits. label Jun 7, 2021
Method was introduced in MRI in 2.7.0 in e717d6faa
graalvmbot pushed a commit that referenced this pull request Jun 8, 2021
@graalvmbot graalvmbot merged commit 365dfa6 into oracle:master Jun 8, 2021
@chrisseaton chrisseaton deleted the io-set-encoding-by-bom branch August 30, 2021 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility in-ci The PR is being tested in CI. Do not push new commits. oca-signed shopify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants