Project

General

Profile

« Previous | Next » 

Revision 3f817764

Added by kou (Kouhei Sutou) over 11 years ago

  • lib/rexml/document.rb (REXML::Document#write): Document encoding
    option. Now different encoding between XML file's encoding and
    XML declaration's encodiong is support.
    [Feature #4872] (work in progress)
  • lib/rexml/xmldecl.rb (REXML::XMLDecl#write): Always use XMLDecl's
    encoding.
  • test/rexml/test_document.rb: Update tests for the above change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e