summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-30 12:10:56 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-30 12:10:56 +0000
commit994f066f76857a781f8819b8da2c2aeceedbf87b (patch)
treed89e9bcf6ac8d558367f888919de0c4894224063 /NEWS
parent767fe5170d97461be5c79936b467dee3d4eb7179 (diff)
* lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]
* lib/rexml/encodings/: remove. * lib/rexml/document.rb, lib/rexml/formatters/default.rb, lib/rexml/output.rb, lib/rexml/parseexception.rb, lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb, lib/rexml/xmldecl.rb: use Ruby's native Encoding object. * test/rexml/, test/rss/: follow the above encoding chagnes. * NEWS: add REXML's incompatible change about encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS12
1 files changed, 12 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index cb0b46b52f..23e944e2b0 100644
--- a/NEWS
+++ b/NEWS
@@ -74,6 +74,13 @@ with all sufficient information, see the ChangeLog file.
* extended methods:
* StringIO#set_encoding can get 2nd argument and optional hash.
+* rexml
+ * [incompatible] support Ruby native encoding mechanism
+ and iconv dependency is droped. This means encoding
+ methods (Document#encoding, XMLDecl#encoding,
+ Output#encoding and Source#encoding) return an Encoding
+ object instead of an encoding name.
+
=== Language changes
* Regexps now support Unicode 6.0 (new characters and scripts)
@@ -83,3 +90,8 @@ with all sufficient information, see the ChangeLog file.
* Kernel#respond_to?
See above.
+
+* REXML::Document#encoding, REXML::XMLdecl#encoding,
+ REXML::Output#encoding and REXML::Source#encoding
+
+ Return an Encoding object not encoding name as a String.