Tuesday, March 07, 2006

Commonly used Unicode symbols

Unicode provides many special characters that you can use within an HTML document. If you use an international keyboard or Windows charmap to type these characters in the ASCII 128-255 range, chances are that people using a different type of computer than yours will see the wrong characters display. So it is better to use Unicode instead.

For example, try this in your HTML code:

I like to eat pâté de foie gras.

No matter what computer you use, your browser will display this as:

I like to eat pâté de foie gras.

Here are some more Unicode characters that you can use. They are shown in both monospace and regular font.

UnicodeResultUnicodeResult
 Non-breaking spaceää            ä
¡¡            ¡èè            è
¿¿            ¿éé            é
¢¢            ¢êê            ê
££            £ëë            ë
""            "ìì            ì
¥¥            ¥íí            í
©©            ©îî            î
®®            ®ïï            ï
°°            °òò            ò
±±            ±óó            ó
¹¹            ¹ôô            ô
²²            ²öö            ö
³³            ³ùù            ù
µµ            µúú            ú
¶            ¶ûû            û
¼¼            ¼üü            ü
½½            ½ææ            æ
¾¾            ¾ãã            ã
××            ×åå            å
÷÷            ÷çç            ç
&&            &ðð            ð
&lt;<            <&ntilde;ñ            ñ
&gt;>            >&oslash;ø            ø
&laquo;«            «&otilde;õ            õ
&raquo;»            »&thorn;þ            þ
&agrave;à            à&yacute;ý            ý
&aacute;á            á&yuml;ÿ            ÿ
&acirc;â            â


There are many more Unicode symbols. This is just a partial list of the ones that I have found the most useful.

Friday, March 03, 2006

ASCII table (32 to 126)

Welcome to ASCII and Unicode Tables!

I created this blog because I was getting tired of wasting time finding ASCII and Unicode tables for different applications. I hope to make this a centralized resource for this sort of information, and I hope you will find it useful as well.

This first post is a standard ASCII table, showing the visible characters (decimal 32 through 126).

Please use the Comments option to leave feedback, and feel free to request more specific tables. I plan to post variations on ASCII for special characters (decimal 128 through 255) as well as Unicode.

Decimal
Hexadecimal
Character
Decimal
Hexadecimal
Character
32
20
space
80
50
P
33
21
!
81
51
Q
34
22
"
82
52
R
35
23
#
83
53
S
36
24
$
84
54
T
37
25
%
85
55
U
38
26
&
86
56
V
39
27
'
87
57
W
40
28
(
88
58
X
41
29
)
89
59
Y
42
2A
*
90
5A
Z
43
2B
+
91
5B
[
44
2C
,
92
5C
\
45
2D
-
93
5D
]
46
2E
.
94
5E
^
47
2F
/
95
5F
_
48
30
0
96
60
`
49
31
1
97
61
a
50
32
2
98
62
b
51
33
3
99
63
c
52
34
4
100
64
d
53
35
5
101
65
e
54
36
6
102
66
f
55
37
7
103
67
g
56
38
8
104
68
h
57
39
9
105
69
i
58
3A
:
106
6A
j
59
3B
;
107
6B
k
60
3C
<
108
6C
l
61
3D
=
109
6D
m
62
3E
>
110
6E
n
63
3F
?
111
6F
o
64
40
@
112
70
p
65
41
A
113
71
q
66
42
B
114
72
r
67
43
C
115
73
s
68
44
D
116
74
t
69
45
E
117
75
u
70
46
F
118
76
v
71
47
G
119
77
w
72
48
H
120
78
x
73
49
I
121
79
y
74
4A
J
122
7A
z
75
4B
K
123
7B
{
76
4C
L
124
7C
|
77
4D
M
125
7D
}
78
4E
N
126
7E
~
79
4F
O


Notes:

  • Values not listed are control characters that may be system-dependent. Common decimal values include 9 (tab), 10 (linefeed), 13 (carriage return), 27 (escape), and 127 (delete).
  • Symbols and special characters (such as foreign accents) are represented in the range 128 to 255. Since these values vary from one platform to another, they should be used only on applications. For web pages, always use Unicode.
  • The original ASCII specification did not define any values above decimal 127 because the 8th bit was used as a parity bit. This provided a checksum for data transmitted across noisy communication channels.