Skip to content

Add tests for combination of {bin,text}mode and external_encoding in ...#1076

Merged
eregon merged 2 commits intoruby:masterfrom
herwinw:io_new_binmode_textmode_and_external_encoding
Jan 4, 2026
Merged

Add tests for combination of {bin,text}mode and external_encoding in ...#1076
eregon merged 2 commits intoruby:masterfrom
herwinw:io_new_binmode_textmode_and_external_encoding

Conversation

@herwinw
Copy link
Copy Markdown
Member

@herwinw herwinw commented Sep 10, 2023

…IO.new

The encoding option takes precedence over the binmode/textmode options. There are similar tests for passing the binmode argument in the mode argument.

…IO.new

The encoding option takes precedence over the binmode/textmode options.
There are similar tests for passing the binmode argument in the mode
argument.
@herwinw herwinw marked this pull request as ready for review September 10, 2023 11:16
Comment thread core/io/shared/new.rb Outdated
@herwinw herwinw marked this pull request as draft September 25, 2023 14:02
Co-authored-by: Andrii Konchyn <andry.konchin@gmail.com>
@eregon eregon marked this pull request as ready for review January 4, 2026 12:12
@eregon eregon merged commit af113ae into ruby:master Jan 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants