Jean byroot Boussier 75154dec73 [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>
2024-04-17 01:29:18 +00:00
..
2024-03-26 12:54:54 +01:00
2023-11-30 08:19:28 +00:00
2023-02-28 09:09:00 -08:00
2024-02-23 10:24:21 -05:00
2024-03-02 16:40:16 +00:00
2024-04-04 12:46:02 +09:00
2024-03-19 09:26:49 +01:00
2024-04-14 20:35:34 +09:00
2023-02-28 09:09:00 -08:00
2024-03-03 00:55:45 +09:00
2023-12-28 18:03:58 +11:00