Windows-1251

From Wikipedia, the free encyclopedia

Windows-1251 is a most popular 8-bit character encoding, designed to cover languages that use the Cyrillic alphabet such as Russian, Bulgarian and other languages. It is the most widely used for encoding the Serbian, Macedonian and Bulgarian languages.

In modern applications Unicode is a preferred character set.

Windows-1251 and KOI8-R (or its Ukrainian variant KOI8-U) are much more commonly used than ISO 8859-5, which never really caught on. In the future, both may eventually give way to Unicode.

[edit] Codepage layout

The following table shows Windows-1251. Each character is shown with its decimal code and its Unicode equivalent.

Windows-1251
—0 —1 —2 —3 —4 —5 —6 —7 —8 —9 —A —B —C —D —E —F
 
0−
 
NUL
0000
0
SOH
0001
1
STX
0002
2
ETX
0003
3
EOT
0004
4
ENQ
0005
5
ACK
0006
6
BEL
0007
7
BS
0008
8
HT
0009
9
LF
000A
10
VT
000B
11
FF
000C
12
CR
000D
13
SO
000E
14
SI
000F
15
 
1−
 
DLE
0010
16
DC1
0011
17
DC2
0012
18
DC3
0013
19
DC4
0014
20
NAK
0015
21
SYN
0016
22
ETB
0017
23
CAN
0018
24
EM
0019
25
SUB
001A
26
ESC
001B
27
FS
001C
28
GS
001D
29
RS
001E
30
US
001F
31
 
2−
 
SP
0020
32
!
0021
33
"
0022
34
#
0023
35
$
0024
36
%
0025
37
&
0026
38
'
0027
39
(
0028
40
)
0029
41
*
002A
42
+
002B
43
,
002C
44
-
002D
45
.
002E
46
/
002F
47
 
3−
 
0
0030
48
1
0031
49
2
0032
50
3
0033
51
4
0034
52
5
0035
53
6
0036
54
7
0037
55
8
0038
56
9
0039
57
:
003A
58
;
003B
59
<
003C
60
=
003D
61
>
003E
62
?
003F
63
 
4−
 
@
0040
64
A
0041
65
B
0042
66
C
0043
67
D
0044
68
E
0045
69
F
0046
70
G
0047
71
H
0048
72
I
0049
73
J
004A
74
K
004B
75
L
004C
76
M
004D
77
N
004E
78
O
004F
79
 
5−
 
P
0050
80
Q
0051
81
R
0052
82
S
0053
83
T
0054
84
U
0055
85
V
0056
86
W
0057
87
X
0058
88
Y
0059
89
Z
005A
90
[
005B
91
\
005C
92
]
005D
93
^
005E
94
_
005F
95
 
6−
 
`
0060
96
a
0061
97
b
0062
98
c
0063
99
d
0064
100
e
0065
101
f
0066
102
g
0067
103
h
0068
104
i
0069
105
j
006A
106
k
006B
107
l
006C
108
m
006D
109
n
006E
110
o
006F
111
 
7−
 
p
0070
112
q
0071
113
r
0072
114
s
0073
115
t
0074
116
u
0075
117
v
0076
118
w
0077
119
x
0078
120
y
0079
121
z
007A
122
{
007B
123
|
007C
124
}
007D
125
~
007E
126


127
 
8−
 
Ђ
0402
128
Ѓ
0403
129

0082
130
ѓ
0453
131

0084
132

0085
133

0086
134

0087
135

0080
136

0089
137
Љ
0409
138

008B
139
Њ
040A
140
Ќ
040C
141
Ћ
040B
142
Џ
040F
143
 
9−
 
ђ
0452
144

0091
145

0092
146

0093
147

0094
148

0095
149

0096
150

0097
151


152

0099
153
љ
0459
154

009B
155
њ
045A
156
ќ
045C
157
ћ
045B
158
џ
045F
159
 
A−
 
NBSP
00A0
160
Ў
040E
161
ў
045E
162
Ј
0408
163
¤
00A4
164
Ґ
0490
165
¦
00A6
166
§
00A7
167
Ё
0401
168
©
00A9
169
Є
0404
170
«
00AB
171
¬
00AC
172
SHY
00AD
173
®
00AE
174
Ї
0407
175
 
B−
 
°
00B0
176
±
00B1
177
І
0406
178
і
0456
179
ґ
0491
180
µ
00B5
181

00B6
182
·
00B7
183
ё
0451
184

2116
185
є
0454
186
»
00BB
187
ј
0458
188
Ѕ
0405
189
ѕ
0455
180
ї
0457
191
 
C−
 
А
0410
192
Б
0411
193
В
0412
194
Г
0413
195
Д
0414
196
Е
0415
197
Ж
0416
198
З
0417
199
И
0418
200
Й
0419
201
К
041A
202
Л
041B
203
М
041C
204
Н
041D
205
О
041E
206
П
041F
207
 
D−
 
Р
0420
208
С
0421
209
Т
0422
210
У
0423
211
Ф
0424
212
Х
0425
213
Ц
0426
214
Ч
0427
215
Ш
0428
216
Щ
0429
217
Ъ
042A
218
Ы
042B
219
Ь
042C
220
Э
042D
221
Ю
042E
222
Я
042F
223
 
E−
 
а
0430
224
б
0431
225
в
0432
226
г
0433
227
д
0434
228
е
0435
229
ж
0436
230
з
0437
231
и
0438
232
й
0439
233
к
043A
234
л
043B
235
м
043C
236
н
043D
237
о
043E
238
п
043F
239
 
F−
 
р
0440
240
с
0441
241
т
0442
242
у
0443
243
ф
0444
244
х
0445
245
ц
0446
246
ч
0447
247
ш
0448
248
щ
0449
249
ъ
044A
250
ы
044B
251
ь
044C
252
э
044D
253
ю
044E
254
я
044F
255

In the table above, 20 is the regular SPACE character, A0 is the NO-BREAK SPACE, and AD is SOFT HYPHEN.

[edit] External links