Xml.XMLDoc.TXMLDocument.Encoding

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Encoding: DOMString read GetEncoding write SetEncoding;

C++

__property System::UnicodeString Encoding = {read=GetEncoding, write=SetEncoding};

Properties

Type Visibility Source Unit Parent
property public
Xml.XMLDoc.pas
Xml.XMLDoc.hpp
Xml.XMLDoc TXMLDocument

Description

Indicates the character set that the XML document uses to encode characters.

Encoding is the encoding name that appears in the document type declaration of the XML document. It is a string such as 'UTF-8', 'UTF-16', or 'ISO-10646-UCS-2' that indicates the character set used in the document.

See Also

Code Examples