XmlModify::setNewEncoding

API Ref

#include <DbXml.hpp>

void XmlModify::setNewEncoding(const std::string &newEncoding)


Description: XmlModify::setNewEncoding

Only operates correctly on document-level storage containers. Sets a new character encoding to be used for documents modified by calls to XmlModify::execute. The encoding must be a valid encoding for an XML document, such as "UTF-8" or "ISO-8859-1". Errors or invalid encodings may not be detected until the modification operation is performed. The supported encodings depend on those supported by Xerces-C and whether is it compiled with additional encoding support.

Parameters

newEncoding
Specifies the encoding to use. This string must be encoded as UTF-8.

APIRef

Copyright (c) 1996,2007 Oracle. All rights reserved.