Inserting Characters and Symbols
You can insert special characters or symbols into content. This can be done by using the Character dialog, by inserting a quick character that you have specified, by selecting a favorite character, or by selecting a recent character.
- Open the content file (e.g., topic, snippet).
- Place your cursor where you want to insert the character or symbol.
- Do one of the following, depending on the part of the user interface you are using:
- Local Toolbar In the local toolbar of the XML Editor, click the face of the Character button .
- Keyboard Shortcut Press SHIFT+F11.
The Character dialog opens.
- Select a character and click Insert.
-
If you are not using the option to automatically close the dialog, you can continue to select characters (if you want to insert others) and click Insert. When finished, you need to click Close as well.
There are several other features that you can use in this dialog, including setting a quick character, searching for characters, and adding them to your favorites list. For details on all of these features, see Character Dialog.
- Click to save your work.
- Make sure you have specified the quick character in the Character dialog. See Specifying Quick Characters.
- Open the content file (e.g., topic, snippet).
- Place your cursor where you want to insert the character or symbol.
- Do one of the following, depending on the part of the user interface you are using:
- Local Toolbar In the local toolbar of the XML Editor, click the down arrow next to the Character button and select Insert Quick Character from the list.
- Keyboard Shortcut Press F11.
- Click to save your work.
- Make sure you have added the character to your list of favorites in the Character dialog. To do this, simply right-click on the character in the Character dialog and select Make favorite.
- Open the content file (e.g., topic, snippet).
- Place your cursor where you want to insert the character or symbol.
- In the local toolbar of the XML Editor, click the down arrow next to the Character button and select a character or symbol listed under Favorites.
- Click to save your work.
- Open the content file (e.g., topic, snippet).
- Place your cursor where you want to insert the character or symbol.
- In the local toolbar of the XML Editor, click the down arrow next to the Character button and select a character or symbol listed under Recently Used.
- Click to save your work.
Although the code for Analyzer is HTML, remember that this is an XML editor that follows the W3C XHTML Schema specification. Therefore, if you want or need to enter entities for characters and symbols (e.g., via a third-party tool), you need to use the XHTML entity number.
After you add a valid entity into the Text Editor, it is converted to the actual character or symbol after you switch to the XML Editor view and then back to the Text Editor view.
You can find a list of valid entity numbers for characters and symbols on the W3C website. See http://www.w3.org/TR/html401/sgml/entities.html.
example
Let's say you are working in the code and want to add an en dash (—). To do so, you would enter the following:
–
Do not enter – (because it is not valid XML).
Note: In addition to the options for inserting a favorite, recent, or quick character, the drop-down list from the Character button also lets you insert a non-breaking space or non-breaking hyphen.
Note: If you are looking for a specific character in the Character dialog, you can use Unicode to search for it.