The Encoding section specifies options for file encodings.
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.
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.
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.
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).
After making the settings, click OK to finish.