Help TOC > Instructions for DEX developers > Additional information > Writing special characters
Writing special characters Date: 2008/02/25 14:20:18
Revision: 1.9

Avoiding character errors

In order not to corrupt DEXlib, only characters from the ISO-xxxx character set is allowed. Always remember to load the edited file in your browser (e.g. Internet Explorer) to see if there are any errors, before you do a CVS update.

This table shows how special characters, not included in ISO-xxxx, can be written without causing errors in DEXlib.

Code in XML-file

Result on screen

"

"

&

&

<

<

&gt;

>

&nbsp;

 

&copy;

©

&reg;

®

&deg;

°

&micro;

µ

&frac12;

½

&sup2;

²

&sup3;

³

&mdash;

&Agrave;

À

&agrave;

à

&Aacute;

Á

&Acirc;

Â

&Atilde;

Ã

&Auml;

Ä

&Aring;

Å

&AElig;

Æ

&Ccedil;

Ç

&Egrave;

È

&Eacute;

É

&Ecirc;

Ê

&Euml;

Ë

&Igrave;

Ì

&Iacute;

Í

&Icirc;

Î

&Iuml;

Ï

&Ntilde;

Ñ

&Ograve;

Ò

&Oacute;

Ó

&Ocirc;

Ô

&Otilde;

Õ

&Oslash;

Ø

&Ouml;

Ö

&Ugrave;

Ù

&Uacute;

Ú

&Ucirc;

Û

&Uuml;

Ü

&szlig;

ß

Table 1 — Writing special characters

For small letters instead of capital, replace the first letter after the "&". See À and à above for an example.

See also character sets defined in:
- dexlib/dtd/dex/xhtml-lat1.ent
- dexlib/dtd/dex/xhtml-special.ent
- dexlib/dtd/dex/xhtml-symbol.ent