Altova XMLSpy 2024 Enterprise Edition

The Encoding section specifies options for file encodings.

OptionsEncoding

 

Default encoding for new XML files

The default encoding for new XML files can be set by selecting an option from the dropdown list. A new document is created with an XML declaration containing the encoding value you specify here. If a two- or four-byte encoding is selected as the default encoding (i.e. UTF-16, UCS-2, or UCS-4) you can also choose between little-endian and big-endian byte-ordering.

 

The encoding of existing XML files will be retained and can only be changed with the File | Encoding command.

 

Open XML files with unknown encoding as

If the encoding of an XML file cannot be determined or if the XML document has no encoding specification, the file will be opened with the encoding you select in this combo box.

 

Open non-XML files in

Existing and new non-XML files are opened with the encoding you select in this combo box. You can change the encoding of the document by using the File | Encoding command.

 

BOM (Byte Order Mark)

When a document with two-byte or four-byte character encoding is saved, the document can be saved either with (i) little-endian byte-ordering and a little-endian BOM (Always create BOM if not UTF-8); or (ii) the detected byte-ordering and the detected BOM (Preserve detected BOM on saving).

 

Save and exit

After making the settings, click OK to finish.

 

© 2017-2023 Altova GmbH