setEncoding

Sets the name of the character encoding to use.

Syntax

Defining Macros for C++

 	#include "XMLWriter.h	"
 
 METHOD (XmlWriter, setEncoding, void) 
 		   METHOD_PARM1(const unicode * encoding) 
 	END_METHOD
 

C++

 void METHOD_CALL setEncoding (
    const unicode   *encoding);
 

Parameters

encoding
(IN) Points to the encoding string to use.

Remarks

The XML Writer is not required to set an encoding string.