oding</H3>
<PRE>
public void <B>setEncoding</B>(java.lang.String&nbsp;encoding)</PRE>
<DL>
<DD>The character encoding to use for the output. The encoding must be a 
 string acceptable for an XML encoding declaration ([<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] section 
 4.3.3 "Character Encoding in Entities"), it is recommended that 
 character encodings registered (as charsets) with the Internet 
 Assigned Numbers Authority [<a href='ftp://ftp.isi.edu/in-notes/iana/assignments/charac