From 8dc5f69e139af81001f6f2201951fd47a01daebf Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 11 Sep 2006 02:48:17 +0000 Subject: * lib/rexml/source.rb (REXML::Source::encoding): should not convert the body twice. [ruby-core:08828] * lib/rexml/encoding.rb (REXML::Encoding::encoding): Encoding#encoding= to return boolean value to tell if the body is really converted or not. * lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific conversion library (e.g. rexml/encodings/UTF-16.rb) to have higher preceding. * lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16): UTF-16#decode_utf16 should work strings without BOM. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0ce7d5022..abb1df470 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +Mon Sep 11 11:42:21 2006 Yukihiro Matsumoto + + * lib/rexml/source.rb (REXML::Source::encoding): should not + convert the body twice. [ruby-core:08828] + + * lib/rexml/encoding.rb (REXML::Encoding::encoding): + Encoding#encoding= to return boolean value to tell if the body + is really converted or not. + + * lib/rexml/encoding.rb (REXML::Encoding::encoding): Specific + conversion library (e.g. rexml/encodings/UTF-16.rb) to have + higher preceding. + + * lib/rexml/encodings/UTF-16.rb (REXML::Encoding::decode_utf16): + UTF-16#decode_utf16 should work strings without BOM. + Mon Sep 11 07:39:44 2006 Yukihiro Matsumoto * string.c (sym_equal): "sym == str" should compare them as -- cgit