Project

General

Profile

« Previous | Next » 

Revision 37440

  • 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
  • lib/rexml/xmldecl.rb (REXML::XMLDecl#write): Always use XMLDecl's encoding.
  • test/rexml/test_document.rb: Update tests for the above change.