Some text editors will automatically add a byte-order mark (BOM) to documents. If you use a text editor to edit a form, configure your editor so it does not add a BOM to UTF-8 encoded documents. (See your text editor’s documentation for details.)
If your UTF-8 encoded forms do contain a BOM, the Viewer and API will not be able to read them. These products produce the following error: Unable to load form: Invalid document structure.
No example provided.
To remove a BOM from a form, open the form in the Designer and save it.
Exceptions to this practice
There are no exceptions to this practice.