How does Arbortext Editor handle "Byte Order Marks"?

Answered by: Karl Johan Kleist Last updated: 2006-08-04

An XML document may start with a "Byte Order Mark" (BOM). But how are BOMs treated by Arbortext?

When a new XML document is created the default way, i.e. using UTF-8 encoded Unicode, it does not contain a BOM. This very much makes sense, since it would be useless.

If Arbortext opens an XML document that starts with a BOM, this is preserved when the document is saved. It is (probably) not possible to prevent this.

If Arbortext opens an XML document that does not start with a BOM, the saved document will not start with a BOM. It is (probably) not possible to force a BOM to be written.

More info in "help 9061" and "help 819".