getEncoding

Returns the string with name of the character encoding to use.

Syntax

Defining Macros for C++

 #include "XMLWriter.h	"
 
 	METHOD (XmlWriter, getEncoding, const unicode *) 
 	END_METHOD
 

C++

 const unicode * METHOD_CALL getEncoding ();
 

Return Values

Returns 0 if the XML Writer has not set character encoding.