Download XML Author 11.2 User Manual

Transcript
Editing documents
When a document with a UTF-16 encoding is edited and saved in <oXygen/>, the saved document will have a byte
order mark (BOM) which will specify the byte order of the document's content. The default byte order is platform dependent. That means that a UTF-16 document created on a Windows platform (where the default byte order mark is
UnicodeLittle) will have a different BOM than a UTF-16 document created on a Mac OS platform (where the byte
order mark is UnicodeBig). The byte order and the BOM of an existing document will be preserved by <oXygen/>
when the document is edited and saved. This behavior can be changed in <oXygen/> from the Encoding preferences
panel.
Note
The naming convention used under Java does not always correspond to the common names used by the Unicode
standard. For instance, while in XML you will use encoding="UTF-8", in Java the same encoding has the name
"UTF8".
The Unicode toolbar
The display of the Unicode toolbar is switched on and off from Perspective → Show Toolbar → Unicode and contains
the actions
Change text orientation with the default shortcut Ctrl + Shift + O and
Insert from Character Map
The
Change text orientation action enables editing documents in languages with right to left writing (Hebrew, Arabic, etc.) by moving the caret to the left when new characters are inserted in the document. Please note that you may
have to set an appropriate Unicode aware font for the editor panel, able to render the characters of the language of the
edited file.
The
Insert from Character Map action opens a dialog in which you can select one character in the matrix of all
characters available in a font and insert it in the edited document. The action is available also in the Edit menu.
Figure 4.1. The Character Map dialog
22