Document Encoding Property

Short Name: Encoding

Requires: Base Development System

Class: Document Properties

Sets or gets the encoding of a document.

If you wire an empty string to this property and the document includes an encoding declaration, LabVIEW uses the declared value in the document. If the property or the document do not declare an encoding value, UTF-8 is the default. If encoding specified is not valid, the output of the Get XML method is an empty string and the Save VI fails.

Refer to the Internet Assigned Numbers Authority (IANA) Web site for a complete list of the IANA character set names that are valid encodings.

Note��The LabVIEW XML parser does not support characters that are not in the current OS code page. Therefore, any non-Unicode multi-byte characters are not parsed as expected. To display the Unicode characters correctly, modify the OS code page to comply with the encoding you specify.

Remarks

The following table lists the characteristics of this property.

Data type

Permissions Read/Write
Available in Run-Time Engine No
Available in Real-Time Operating System Yes