HTML Windows-1252 (ANSI) 参考手册

Windows-1252

Windows-1252 是 Microsoft Windows 中的第一个默认字符集。

从 1985 年到 1990 年,它是 Windows 中最流行的字符集。

ANSI

历史上,Windows 中使用术语 “ANSI Code Pages” 来指代非 DOS 字符集。

目的是使这些字符集成为 ANSI 标准,例如 ISO-8859-1。

尽管 Windows-1252 与 ISO-8859-1 几乎相同,但它从未成为 ANSI 或 ISO 标准。

Windows-1252 和 ASCII

Windows-1252 的第一部分(实体号从 0-127)是原始 ASCII 字符集。它包含数字、大写和小写英文字母以及一些特殊字符。

如需更深入的研究,请访问我们的 完整 ASCII 参考

Windows-1252 字符集

字符 实体编号 实体名称 描述
0 - 31 Control characters (see below)
32 space
! 33 exclamation mark
34 " quotation mark
# 35 number sign
$ 36 dollar sign
% 37 percent sign
& 38 & ampersand
39 apostrophe
( 40 left parenthesis
) 41 right parenthesis
* 42 asterisk
+ 43 plus sign
, 44 comma
- 45 hyphen-minus
. 46 full stop
/ 47 solidus
0 48 digit zero
1 49 digit one
2 50 digit two
3 51 digit three
4 52 digit four
5 53 digit five
6 54 digit six
7 55 digit seven
8 56 digit eight
9 57 digit nine
: 58 colon
; 59 semicolon
< 60 &lt; less-than sign
= 61 equals sign
> 62 &gt; greater-than sign
? 63 question mark
@ 64 commercial at
A 65 Latin capital letter A
B 66 Latin capital letter B
C 67 Latin capital letter C
D 68 Latin capital letter D
E 69 Latin capital letter E
F 70 Latin capital letter F
G 71 Latin capital letter G
H 72 Latin capital letter H
I 73 Latin capital letter I
J 74 Latin capital letter J
K 75 Latin capital letter K
L 76 Latin capital letter L
M 77 Latin capital letter M
N 78 Latin capital letter N
O 79 Latin capital letter O
P 80 Latin capital letter P
Q 81 Latin capital letter Q
R 82 Latin capital letter R
S 83 Latin capital letter S
T 84 Latin capital letter T
U 85 Latin capital letter U
V 86 Latin capital letter V
W 87 Latin capital letter W
X 88 Latin capital letter X
Y 89 Latin capital letter Y
Z 90 Latin capital letter Z
[ 91 left square bracket
\ 92 reverse solidus
] 93 right square bracket
^ 94 circumflex accent
_ 95 low line
` 96 grave accent
a 97 Latin small letter a
b 98 Latin small letter b
c 99 Latin small letter c
d 100 Latin small letter d
e 101 Latin small letter e
f 102 Latin small letter f
g 103 Latin small letter g
h 104 Latin small letter h
i 105 Latin small letter i
j 106 Latin small letter j
k 107 Latin small letter k
l 108 Latin small letter l
m 109 Latin small letter m
n 110 Latin small letter n
o 111 Latin small letter o
p 112 Latin small letter p
q 113 Latin small letter q
r 114 Latin small letter r
s 115 Latin small letter s
t 116 Latin small letter t
u 117 Latin small letter u
v 118 Latin small letter v
w 119 Latin small letter w
x 120 Latin small letter x
y 121 Latin small letter y
z 122 Latin small letter z
{ 123 left curly bracket
| 124 vertical line
} 125 right curly bracket
~ 126 tilde
127 Control character (see below)
128 &euro; euro sign
129 NOT USED
130 &sbquo; single low-9 quotation mark
ƒ 131 &fnof; Latin small letter f with hook
132 &bdquo; double low-9 quotation mark
133 &hellip; horizontal ellipsis
134 &dagger; dagger
135 &Dagger; double dagger
ˆ 136 &circ; modifier letter circumflex accent
137 &permil; per mille sign
Š 138 &Scaron; Latin capital letter S with caron
139 &lsaquo; single left-pointing angle quotation mark
Œ 140 &OElig; Latin capital ligature OE
141 NOT USED
Ž 142 &Zcaron; Latin capital letter Z with caron
143 NOT USED
144 NOT USED
145 &lsquo; left single quotation mark
146 &rsquo; right single quotation mark
147 &ldquo; left double quotation mark
148 &rdquo; right double quotation mark
149 &bull; bullet
150 &ndash; en dash
151 &mdash; em dash
˜ 152 &tilde; small tilde
153 &trade; trade mark sign
š 154 &scaron; Latin small letter s with caron
155 &rsaquo; single right-pointing angle quotation mark
œ 156 &oelig; Latin small ligature oe
157 NOT USED
ž 158 &zcaron; Latin small letter z with caron
Ÿ 159 &Yuml; Latin capital letter Y with diaeresis
160 &nbsp; no-break space
¡ 161 &iexcl; inverted exclamation mark
¢ 162 &cent; cent sign
£ 163 &pound; pound sign
¤ 164 &curren; currency sign
¥ 165 &yen; yen sign
¦ 166 &brvbar; broken bar
§ 167 &sect; section sign
¨ 168 &uml; diaeresis
© 169 &copy; copyright sign
ª 170 &ordf; feminine ordinal indicator
« 171 &laquo; left-pointing double angle quotation mark
¬ 172 &not; not sign
­ 173 &shy; soft hyphen
® 174 &reg; registered sign
¯ 175 &macr; macron
° 176 &deg; degree sign
± 177 &plusmn; plus-minus sign
² 178 &sup2; superscript two
³ 179 &sup3; superscript three
´ 180 &acute; acute accent
µ 181 &micro; micro sign
182 &para; pilcrow sign
· 183 &middot; middle dot
¸ 184 &cedil; cedilla
¹ 185 &sup1; superscript one
º 186 &ordm; masculine ordinal indicator
» 187 &raquo; right-pointing double angle quotation mark
¼ 188 &frac14; vulgar fraction one quarter
½ 189 &frac12; vulgar fraction one half
¾ 190 &frac34; vulgar fraction three quarters
¿ 191 &iquest; inverted question mark
À 192 &Agrave; Latin capital letter A with grave
Á 193 &Aacute; Latin capital letter A with acute
 194 &Acirc; Latin capital letter A with circumflex
à 195 &Atilde; Latin capital letter A with tilde
Ä 196 &Auml; Latin capital letter A with diaeresis
Å 197 &Aring; Latin capital letter A with ring above
Æ 198 &AElig; Latin capital letter AE
Ç 199 &Ccedil; Latin capital letter C with cedilla
È 200 &Egrave; Latin capital letter E with grave
É 201 &Eacute; Latin capital letter E with acute
Ê 202 &Ecirc; Latin capital letter E with circumflex
Ë 203 &Euml; Latin capital letter E with diaeresis
Ì 204 &Igrave; Latin capital letter I with grave
Í 205 &Iacute; Latin capital letter I with acute
Î 206 &Icirc; Latin capital letter I with circumflex
Ï 207 &Iuml; Latin capital letter I with diaeresis
Ð 208 &ETH; Latin capital letter Eth
Ñ 209 &Ntilde; Latin capital letter N with tilde
Ò 210 &Ograve; Latin capital letter O with grave
Ó 211 &Oacute; Latin capital letter O with acute
Ô 212 &Ocirc; Latin capital letter O with circumflex
Õ 213 &Otilde; Latin capital letter O with tilde
Ö 214 &Ouml; Latin capital letter O with diaeresis
× 215 &times; multiplication sign
Ø 216 &Oslash; Latin capital letter O with stroke
Ù 217 &Ugrave; Latin capital letter U with grave
Ú 218 &Uacute; Latin capital letter U with acute
Û 219 &Ucirc; Latin capital letter U with circumflex
Ü 220 &Uuml; Latin capital letter U with diaeresis
Ý 221 &Yacute; Latin capital letter Y with acute
Þ 222 &THORN; Latin capital letter Thorn
ß 223 &szlig; Latin small letter sharp s
à 224 &agrave; Latin small letter a with grave
á 225 &aacute; Latin small letter a with acute
â 226 &acirc; Latin small letter a with circumflex
ã 227 &atilde; Latin small letter a with tilde
ä 228 &auml; Latin small letter a with diaeresis
å 229 &aring; Latin small letter a with ring above
æ 230 &aelig; Latin small letter ae
ç 231 &ccedil; Latin small letter c with cedilla
è 232 &egrave; Latin small letter e with grave
é 233 &eacute; Latin small letter e with acute
ê 234 &ecirc; Latin small letter e with circumflex
ë 235 &euml; Latin small letter e with diaeresis
ì 236 &igrave; Latin small letter i with grave
í 237 &iacute; Latin small letter i with acute
î 238 &icirc; Latin small letter i with circumflex
ï 239 &iuml; Latin small letter i with diaeresis
ð 240 &eth; Latin small letter eth
ñ 241 &ntilde; Latin small letter n with tilde
ò 242 &ograve; Latin small letter o with grave
ó 243 &oacute; Latin small letter o with acute
ô 244 &ocirc; Latin small letter o with circumflex
õ 245 &otilde; Latin small letter o with tilde
ö 246 &ouml; Latin small letter o with diaeresis
÷ 247 &divide; division sign
ø 248 &oslash; Latin small letter o with stroke
ù 249 &ugrave; Latin small letter u with grave
ú 250 &uacute; Latin small letter u with acute
û 251 &ucirc; Latin small letter u with circumflex
ü 252 &uuml; Latin small letter u with diaeresis
ý 253 &yacute; Latin small letter y with acute
þ 254 &thorn; Latin small letter thorn
ÿ 255 &yuml; Latin small letter y with diaeresis

控制字符

控制字符(范围为 00-31,外加127)旨在控制硬件设备。

控制字符(水平制表符、换行符和回车符除外)与 HTML 文档无关。

字符 编码 描述
NUL 00 null character
SOH 01 start of header
STX 02 start of text
ETX 03 end of text
EOT 04 end of transmission
ENQ 05 enquiry
ACK 06 acknowledge
BEL 07 bell (ring)
BS 08 backspace
HT 09 horizontal tab
LF 10 line feed
VT 11 vertical tab
FF 12 form feed
CR 13 carriage return
SO 14 shift out
SI 15 shift in
DLE 16 data link escape
DC1 17 device control 1
DC2 18 device control 2
DC3 19 device control 3
DC4 20 device control 4
NAK 21 negative acknowledge
SYN 22 synchronize
ETB 23 end transmission block
CAN 24 cancel
EM 25 end of medium
SUB 26 substitute
ESC 27 escape
FS 28 file separator
GS 29 group separator
RS 30 record separator
US 31 unit separator
DEL 127 delete (rubout)