Recents
SetDocEncoding MethodOfficial Content
Allows to explicitly set the character coding used in the document.

Syntax

&DataType.SetDocEncoding(Encoding)

Where:
Encoding
 String

Values

ANSI
US-ASCII
UTF-8
UTF-16
ISO-8859-1

Description

Allows you to explicitly set the character coding used in the document. The value indicated has precedence over the encoding property of the xml document’s declaration.

Scope

Extended Data Types: XmlReader
Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

SetNodeEncoding
XmlReader Data Type




Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.