Entry
How can i display ø (untranslated) in the browser?
Aug 19th, 2000 22:28
Rey Nuņez, Acebone,
To display the actual or literal string of the character entity
references that correspond to ISO 8859-1 character entity names, use
& in place of the "&" in the string.
For example, this table displays the converted character itself, the
character entity reference string, its numeric equivalent, and a short
description of some of the ISO 8859-1 character entity set.
<h3>Character entity references for ISO 8859-1 characters</h3>
<table align="center" width=90% border>
<tr>
<td> </td>
<td>&nbsp;</td>
<td>&#160;</td>
<td>no-break space = non-breaking space, U+00A0 ISOnum</td></tr>
<tr>
<td>¡</td>
<td>&iexcl;</td>
<td>&#161;</td>
<td>inverted exclamation mark, U+00A1 ISOnum</td></tr>
<tr>
<td>¢</td>
<td>&cent;</td>
<td>&#162;</td>
<td>cent sign, U+00A2 ISOnum</td></tr>
<tr>
<td>£</td>
<td>&pound;</td>
<td>&#163;</td>
<td>pound sign, U+00A3 ISOnum</td></tr>
<tr>
<td>¤</td>
<td>&curren;</td>
<td>&#164;</td>
<td>currency sign, U+00A4 ISOnum</td></tr>
<tr>
<td>¥</td>
<td>&yen;</td>
<td>&#165;</td>
<td>yen sign = yuan sign, U+00A5 ISOnum</td></tr>
<tr>
<td>¦</td>
<td>&brvbar;</td>
<td>&#166;</td>
<td>broken bar = broken vertical bar, U+00A6 ISOnum</td></tr>
<tr>
<td>§</td>
<td>&sect;</td>
<td>&#167;</td>
<td>section sign, U+00A7 ISOnum</td></tr>
</table>
In the same manner, writing &Oslash; and &oslash; in an HTML
page displays the literal string equivalent of the entity reference for
the capital and small letter O with stroke, while writing Ø and
ø will render the ISO 8859-1 characters itself.