The Encoding preferences panel is opened from menu Options > Preferences > Encoding
The encoding preferences are the following:
Encoding for non XML
files - The default encoding used when the application opens non XML
documents. This is necessary because non XML files have a large variety of formats and there
is no standard mechanism for declaring the encoding that should be used for opening and
saving the file. In case of XML files, the encoding is declared at the beginning of the file
in a special declaration element or it is assumed to be the default value, which is UTF-8.
UTF-8 BOM handling - Specifies
how to handle the Byte Order Mark (BOM) when Oxygen XML Developer saves an UTF-8
Don't Write - Do not save the BOM bytes. Loaded BOM bytes are
Write - Save the BOM bytes;
Keep - Do not alter the BOM declaration of the currently open
file. This is the default option.
Note: The UTF-16 BOM is always preserved. UTF-32 documents have a
big-endian byte order.
handling - This option defines how to handle characters that cannot be
represented in the specified encoding of the document when the document is opened. The
available options are:
REPORT - Shows an error dialog box with the character that
cannot be represented in the specified encoding. Unrecognized
characters are rendered as an empty box. This is the default option.
IGNORE - The character is ignored and it is not included in the
document displayed in the editor panel.
Attention: If you edit and save the
document, the characters that cannot be represented in the specified encoding are
REPLACE - Replace the character with a standard replacement
character. For example, if the encoding is UTF-8, the replacement character has the
Unicode code FFFD, and if the encoding is ASCII, the replacement
character code is 63.
Note: The default encoding for RNC files is considered