diff options
| author | Jean byroot Boussier <jean.boussier+github@shopify.com> | 2024-04-17 03:29:09 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-04-17 01:29:18 +0000 |
| commit | 75154dec73e1329693866e3a88cb9febb7635417 (patch) | |
| tree | de4ed05b715f2ce51f322cf2fce13eacaa019b46 /include/ruby/internal | |
| parent | f34409bf8782481deabec6c577abd66373134af9 (diff) | |
[ruby/stringio] strio_read: preserve buffer encoding on partial
reads
(https://github.com/ruby/stringio/pull/95)
[[Bug #20418]](https://bugs.ruby-lang.org/issues/20418)
Ruby IO#read preserves the encoding on partial read, but change it when
reading the whole IO
from commit https://github.com/ruby/ruby/commit/0ca7036682da:
> * io.c (read_all): should associate default external encoding.
> * io.c (io_read): should NOT associate default external encoding.
https://github.com/ruby/stringio/commit/073172da31
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions
