diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-04 20:45:14 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-04 20:45:14 +0000 |
commit | 7d575c0b5214cc2ebb3fd912d68f89ca5e183ab1 (patch) | |
tree | b9bc561d416c83d61b08a7e0088a408632dd44dc /ChangeLog | |
parent | fc186659c387ca3362a6e8399872f09ebec497ff (diff) | |
download | ruby-7d575c0b5214cc2ebb3fd912d68f89ca5e183ab1.tar.gz |
stringio: binmode sets encoding to ASCII-8BIT
This should match the behavior of IO#binmode as far
as treating content as ASCII-8BIT (binary).
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
[ruby-core:72699] [Bug #11945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Tue Jan 5 05:06:51 2016 Eric Wong <e@80x24.org> + + * ext/stringio/stringio.c (strio_binmode): implement to set encoding + * test/stringio/test_stringio.rb (test_binmode): new test + [ruby-core:72699] [Bug #11945] + Mon Jan 4 15:44:37 2016 Sho Hashimoto <sho-h@ruby-lang.org> * variable.c (rb_mod_deprecate_constant): [DOC] added |