From 66cfd1310cdd7bafb1d72afa42ce302b94700dd5 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 18 Dec 2015 08:16:02 +0000 Subject: [PATCH] NEWS: make precise the note of r53188 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++-- NEWS | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20afabe261..8b3224034e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,8 +3,8 @@ Fri Dec 18 16:54:38 2015 Nobuyoshi Nakada * ext/stringio/stringio.c (strio_set_encoding): add StringIO's own encoding and separate it from the buffer string to override the encoding of string when reading. [ruby-core:72189] [Bug #11827] - note that setting the encoding of its buffer string may cause - unpredictable behavior. + note that setting the encoding of its buffer string directly + without StringIO#set_encoding may cause unpredictable behavior. Fri Dec 18 16:50:35 2015 Koichi Sasada diff --git a/NEWS b/NEWS index a45d2eba23..c4f444a822 100644 --- a/NEWS +++ b/NEWS @@ -242,7 +242,8 @@ with all sufficient information, see the ChangeLog file. * StringIO * In read-only mode, StringIO#set_encoding no longer sets the encoding of its buffer string. Setting the encoding of the string directly - may cause unpredictable behavior. [Bug #11827] + without StringIO#set_encoding may cause unpredictable behavior now. + [Bug #11827] * timeout * Object#timeout is now warned as deprecated when called.