Altova XMLSpy 2025 Professional Edition 

Property: Encoding as String

 

Description

This property provides access to the document's encoding value. However, this property can only be accessed when the document is opened in spyViewGrid, spyViewText or spyViewAuthentic. See CurrentViewMode on how to detect a document's actual view mode.

 

This property makes the method SetEncoding obsolete.

 

Possible values are, for example:

 

 8859-1,

 8859-2,

 ASCII, ISO-646,

 850,

 1252,

 1255,

 SHIFT-JIS, MS-KANJI,

 BIG5, FIVE,

 UTF-7,

 UTF-8,

 UTF-16

 

Errors

1400

The document object is no longer valid.

1407

Invalid address for the return parameter was specified.

1416

Operation not supported in current view mode.

 

 

© 2018-2024 Altova GmbH