This page doesn't display non-Windows platforms, and will not display completely on N4.x — this is the point of the page, as the first block characters aren't portable, despite what people might think.
Characters as cp1252 values | Unicode code-points (decimal) | Characters escaped by codepoint | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
| | | | 8364 | 129 | 8218 | 402 | € | | ‚ | ƒ |
| | | 8222 | 8230 | 8224 | 8225 | „ | … | † | ‡ | |
| | | | 710 | 8240 | 352 | 8249 | ˆ | ‰ | Š | ‹ |
| | | | 338 | 141 | 381 | 143 | Œ | | Ž | |
| | | | 144 | 8216 | 8217 | 8220 | | ‘ | ’ | “ |
| | | | 8221 | 8226 | 8211 | 8212 | ” | • | – | — |
| | | | 732 | 8482 | 353 | 8250 | ˜ | ™ | š | › |
| | | | 339 | 157 | 382 | 376 | œ | | ž | Ÿ |
Characters appearing as an empty cell in the first block correspond to no printing character, even in cp1252, the usual Windows character to machine representation mapping. Character values in the block run 128–131 (0x80 to 0x83) in the top row, 132–135 (0x84 to 0x88) in the next, down to 156–159 (0x9C to 0x9F) in the last row.
If you want a printing character glyph from the first block in the upper left then you shouldn't use the character directly from a Windows machine, nor use an &#<decimal>; or &#x<hex>; with a value from 0x80 to 0x9f (128 to 159), but one of the named escapes shown below.
N.B. If you are targetting PocketIE, you need to use the Unicode codepoint number (decimal or hex); if you are also targetting your content at Netscape 4.0, use the decimal for these characters — so for a bullet, use • rather than &#bull; , even though it makes the code less legible.
Characters escaped by name | Named escape sequence, plus [not xml] | ||||||
---|---|---|---|---|---|---|---|
€ | ‚ | ƒ | € [&#euro;] | ‚ [‚] | ƒ | ||
„ | … | † | ‡ | „ [„] | … […] | † [†] | ‡ [‡] |
ˆ | ‰ | Š | ‹ | ˆ | ‰ [‰] | Š | ‹ [‹] |
Œ | Ž | Œ | Ž | ||||
‘ | ’ | “ | ‘ [‘] | ’ [’] | “ [“] | ||
” | • | – | — | ” [”] | • [•] | – [–] | — [—] |
˜ | ™ | š | › | ˜ | ™ [™] | š | › [›] |
œ | ž | Ÿ | œ | ž | Ÿ |
This page attempts to give some idea of where to use – and — — there are other useful characters to know to improve your typography, if you don't need to support NN4:–
- for feet, ′ (′) not ' (apostrophe)
- for inches, ″ (″) not " (quotation mark)
You should continue to use ‘-’ (Unicode hyphen-minus) rather than the Unicode for hyphen, ‐ (‐) or for minus, − (−) as they aren't well supported even in modern browsers. Also even when they work, as in Firefox, for my chosen fonts, the hyphen has too much space at either side to really be a proper ligature, and − (minus) is too big for my comfort, being larger than a – (ndash). Similarly ' is Unicode apostrophe and should be used as such rather than either ‘ or ′.