XML encoding

Hello,

I generate a .xml using the function to_xml

          format.xml { render :xml => @pisos.to_xml(:methods =>
[:provincia_nombre, :ayuntamiento_nombre]) }

And the xml is encoded with UTF-8, I would like to know how to encode
the xml with ISO 8859-1 or another one.

Thank you