From: matt_neuburg@... (Matt Neuburg) Date: 2009-08-11T09:30:09+09:00 Subject: Re: Libxml: trying to set encoding for a document Diana Jaunzeikare wrote: > > I have problems with setting encoding for an xml file. I want to produce an > xml file which starts with > > require 'rubygems' require 'libxml' doc = LibXML::XML::Document.new puts doc.to_s #=> m.