[ruby-cvs:78698] e8c62836a6 (master): IO#set_encoding_by_bom should err when encoding is already set
"Nobuyoshi Nakada" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Nobuyoshi Nakada 2019-12-15 23:13:16 +0900 (Sun, 15 Dec 2019)
New Revision: e8c62836a6
https://github.com/ruby/ruby/commit/e8c62836a6
Log:
IO#set_encoding_by_bom should err when encoding is already set
Except for ASCII-8BIT. [Bug #16422]
Modified files:
io.c
test/ruby/test_io_m17n.rb