ISO-8859-1 character set (html coded characters)

I got tired of looking up the special characters for HTML and more importantly XSLT, so I decided to put them here for easy reference.

In HTML, you can use use specific code positions to display special characters. For example   is equivalent to placing a space in your text, in other words, a non-breaking space; and © is the equivalent of placing a copyright sign on the page, i.e., ©

However, in XSLT you are not allowed to use these types of characters, you need to use the ISO-8859-1 character set. The biggest difference being, these characters have a hash mark just after the & which makes the XSLT processor happy. So, instead of inserting   as a non breaking space, you'd insert   and instead of © you'd use ©

Note: these characters are not limited in use to XSLT pages, they are just as acceptable in an HTML file as demonstrated in the "Visual" column below.

ISO-8859-1 Character Set
Visual Reference Value
  � -  Unused
	 Horizontal tab

 Line feed
   -  Unused

 Carriage Return
   -  Unused
  Space
! ! Exclamation mark
" " Quotation mark
# # Number sign
$ $ Dollar sign
% % Percent sign
& & Ampersand
' ' Apostrophe
( ( Left parenthesis
) ) Right parenthesis
* * Asterisk
+ + Plus sign
, , Comma
- - Hyphen
. . Period (fullstop)
/ / Solidus (slash)
0 - 9 0 - 9 Digits 0-9
: : Colon
; &#59; Semi-colon
< &#60; Less than
= &#61; Equals sign
> &#62; Greater than
? &#63; Question mark
@ &#64; Commercial at
A - Z &#65; - &#90; Letters A-Z
[ &#91; Left square bracket
\ &#92; Reverse solidus (backslash)
] &#93; Right square bracket
^ &#94; Caret
_ &#95; Horizontal bar (underscore)
` &#96; Acute accent
a - z &#97; - &#122; Letters a-z
{ &#123; Left curly brace
| &#124; Vertical bar
} &#125; Right curly brace
~ &#126; Tilde
 - Ÿ &#127; - &#159; Unused
  &#160; Non-breaking Space
¡ &#161; Inverted exclamation
¢ &#162; Cent sign
£ &#163; Pound sterling
¤ &#164; General currency sign
¥ &#165; Yen sign
¦ &#166; Broken vertical bar
§ &#167; Section sign
¨ &#168; Umlaut (dieresis)
© &#169; Copyright
ª &#170; Feminine ordinal
« &#171; Left angle quote, guillemotleft
¬ &#172; Not sign
­ &#173; Soft hyphen
® &#174; Registered trademark
¯ &#175; Macron accent
° &#176; Degree sign
± &#177; Plus or minus
² &#178; Superscript two
³ &#179; Superscript three
´ &#180; Acute accent
µ &#181; Micro sign
&#182; Paragraph sign
· &#183; Middle dot
¸ &#184; Cedilla
¹ &#185; Superscript one
º &#186; Masculine ordinal
» &#187; Right angle quote, guillemotright
¼ &#188; Fraction one-fourth
½ &#189; Fraction one-half
¾ &#190; Fraction three-fourths
¿ &#191; Inverted question mark
À &#192; Capital A, grave accent
Á &#193; Capital A, acute accent
 &#194; Capital A, circumflex accent
à &#195; Capital A, tilde
Ä &#196; Capital A, dieresis or umlaut mark
Å &#197; Capital A, ring
Æ &#198; Capital AE dipthong (ligature)
Ç &#199; Capital C, cedilla
È &#200; Capital E, grave accent
É &#201; Capital E, acute accent
Ê &#202; Capital E, circumflex accent
Ë &#203; Capital E, dieresis or umlaut mark
Ì &#204; Capital I, grave accent
Í &#205; Capital I, acute accent
Î &#206; Capital I, circumflex accent
Ï &#207; Capital I, dieresis or umlaut mark
Ð &#208; Capital Eth, Icelandic
Ñ &#209; Capital N, tilde
Ò &#210; Capital O, grave accent
Ó &#211; Capital O, acute accent
Ô &#212; Capital O, circumflex accent
Õ &#213; Capital O, tilde
Ö &#214; Capital O, dieresis or umlaut mark
× &#215; Multiply sign
Ø &#216; Capital O, slash
Ù &#217; Capital U, grave accent
Ú &#218; Capital U, acute accent
Û &#219; Capital U, circumflex accent
Ü &#220; Capital U, dieresis or umlaut mark
Ý &#221; Capital Y, acute accent
Þ &#222; Capital THORN, Icelandic
ß &#223; Small sharp s, German (sz ligature)
à &#224; Small a, grave accent
á &#225; Small a, acute accent
â &#226; Small a, circumflex accent
ã &#227; Small a, tilde
ä &#228; Small a, dieresis or umlaut mark
å &#229; Small a, ring
æ &#230; Small ae dipthong (ligature)
ç &#231; Small c, cedilla
è &#232; Small e, grave accent
é &#233; Small e, acute accent
ê &#234; Small e, circumflex accent
ë &#235; Small e, dieresis or umlaut mark
ì &#236; Small i, grave accent
í &#237; Small i, acute accent
î &#238; Small i, circumflex accent
ï &#239; Small i, dieresis or umlaut mark
ð &#240; Small eth, Icelandic
ñ &#241; Small n, tilde
ò &#242; Small o, grave accent
ó &#243; Small o, acute accent
ô &#244; Small o, circumflex accent
õ &#245; Small o, tilde
ö &#246; Small o, dieresis or umlaut mark
÷ &#247; Division sign
ø &#248; Small o, slash
ù &#249; Small u, grave accent
ú &#250; Small u, acute accent
û &#251; Small u, circumflex accent
ü &#252; Small u, dieresis or umlaut mark
ý &#253; Small y, acute accent
þ &#254; Small thorn, Icelandic
ÿ &#255; Small y, dieresis or umlaut mark

Keywords: XSLT, HTML Coded Character, ISO-8859-1

 

 

All of the code and examples presented in my playground are either modifications of open source code or original works of Kindler Chase DBA Roubaix Interactive or a combination of both and are Copyright protected unless noted otherwise. You may not use the code here without asking first. OK, so I know you're not going to ask, so how about a nice thank you for playing gift?

 •  got css?  •  got xhtml?  •  trump salad?

This page last updated on 5/25/2020