diff options
author | Jeremy Evans <code@jeremyevans.net> | 2022-08-23 12:22:24 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-01-01 09:00:24 -0800 |
commit | 0903a251796c2b4086804a94420c231c04e3cea1 (patch) | |
tree | 15a05d6357a257df60c80cf8166e6410413f87e2 /README.EXT | |
parent | a4e9606da425a5f6bb5089b1037a3afd8cfa585b (diff) | |
download | ruby-0903a251796c2b4086804a94420c231c04e3cea1.tar.gz |
Make IO#set_encoding with binary external encoding use nil internal encoding
This was already the behavior when a single `'external:internal'`
encoding specifier string was passed. This makes the behavior
consistent for the case where separate external and internal
encoding specifiers are provided.
While here, fix the IO#set_encoding method documentation to
state that either the first or second argument can be a string
with an encoding name, and describe the behavior when the
external encoding is binary.
Fixes [Bug #18899]
Diffstat (limited to 'README.EXT')
0 files changed, 0 insertions, 0 deletions