v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Character table"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (format standardise)
 
(11 intermediate revisions by 10 users not shown)
Line 1: Line 1:
This is the '''character table''' of Codepage 437, a which is used as the standard Dwarf Fortress [[character set]] (though slightly modified for this purpose). For each character, the [http://en.wikipedia.org/wiki/Unicode Unicode] code point and the CP437 ordinal are shown. Additionally, the row and column labels combine to form the hexadecimal representation of the CP437 ordinal.
+
This is the '''character table''' of Codepage 437, which is used as the standard Dwarf Fortress [[character set]] (though slightly modified for this purpose). For each character, the [http://en.wikipedia.org/wiki/Unicode Unicode] code point and the CP437 ordinal are shown. Additionally, the row and column labels combine to form the hexadecimal representation of the CP437 ordinal.
 +
 
 +
When [[modding]] [[raw file]]s you should make sure you are editing these files in that format. As many text editors default to UTF-8, some characters with diacritical marks may fail to show properly. Saving one of the default [[Language token|language raw files]] in this state will overwrite these characters with the unicode question mark, which will corrupt the file.
 +
* For example, when using notepad++ text editor you have to set Encoding > Character Sets > Western European > OEM US to see the names properly
 +
* To fix this replace the file with a clean one downloaded from the distributed version of DF.
  
 
== Characters ==
 
== Characters ==
Line 118: Line 122:
 
|{{chset-cell|5A}}<br />'''''90'''''
 
|{{chset-cell|5A}}<br />'''''90'''''
 
|{{chset-cell|5B}}<br />'''''91'''''
 
|{{chset-cell|5B}}<br />'''''91'''''
|{{chset-cell|5C}}<br />'''''92'''''
+
|{{chset-cell2|5C|\}}<br />'''''92'''''
 
|{{chset-cell|5D}}<br />'''''93'''''
 
|{{chset-cell|5D}}<br />'''''93'''''
 
|{{chset-cell|5E}}<br />'''''94'''''
 
|{{chset-cell|5E}}<br />'''''94'''''
Line 304: Line 308:
 
|}
 
|}
  
[[Modding]]
+
== Notes ==
 +
* The table has been copied from a previous version of [http://en.wikipedia.org/wiki/Code_page_437 this page on Wikipedia].
 +
[[ru:Character table]]
 +
{{Category|Modding}}
 +
{{unversioned}}

Latest revision as of 21:42, 7 March 2023

This is the character table of Codepage 437, which is used as the standard Dwarf Fortress character set (though slightly modified for this purpose). For each character, the Unicode code point and the CP437 ordinal are shown. Additionally, the row and column labels combine to form the hexadecimal representation of the CP437 ordinal.

When modding raw files you should make sure you are editing these files in that format. As many text editors default to UTF-8, some characters with diacritical marks may fail to show properly. Saving one of the default language raw files in this state will overwrite these characters with the unicode question mark, which will corrupt the file.

  • For example, when using notepad++ text editor you have to set Encoding > Character Sets > Western European > OEM US to see the names properly
  • To fix this replace the file with a clean one downloaded from the distributed version of DF.

Characters[edit]

.0 .1 .2 .3 .4 .5 .6 .7 .8 .9 .A .B .C .D .E .F
 
0.
 
NULL
0
0

263A
1

263B
2

2665
3

2666
4

2663
5

2660
6

2022
7

25D8
8

25CB
9

25D9
10

2642
11

2640
12

266A
13

266B
14

263C
15
 
1.
 

25BA
16

25C4
17

2195
18

203C
19

B6
20
§
A7
21

25AC
22

21A8
23

2191
24

2193
25

2192
26

2190
27

221F
28

2194
29

25B2
30

25BC
31
 
2.
 

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

2302
127
 
8.
 
Ç
C7
128
ü
FC
129
é
E9
130
â
E2
131
ä
E4
132
à
E0
133
å
E5
134
ç
E7
135
ê
EA
136
ë
EB
137
è
E8
138
ï
EF
139
î
EE
140
ì
EC
141
Ä
C4
142
Å
C5
143
 
9.
 
É
C9
144
æ
E6
145
Æ
C6
146
ô
F4
147
ö
F6
148
ò
F2
149
û
FB
150
ù
F9
151
ÿ
FF
152
Ö
D6
153
Ü
DC
154
¢
A2
155
£
A3
156
¥
A5
157

20A7
158
ƒ
192
159
 
A.
 
á
E1
160
í
ED
161
ó
F3
162
ú
FA
163
ñ
F1
164
Ñ
D1
165
ª
AA
166
º
BA
167
¿
BF
168

2310
169
¬
AC
170
½
BD
171
¼
BC
172
¡
A1
173
«
AB
174
»
BB
175
 
B.
 

2591
176

2592
177

2593
178

2502
179

2524
180

2561
181

2562
182

2556
183

2555
184

2563
185

2551
186

2557
187

255D
188

255C
189

255B
190

2510
191
 
C.
 

2514
192

2534
193

252C
194

251C
195

2500
196

253C
197

255E
198

255F
199

255A
200

2554
201

2569
202

2566
203

2560
204

2550
205

256C
206

2567
207
 
D.
 

2568
208

2564
209

2565
210

2559
211

2558
212

2552
213

2553
214

256B
215

256A
216

2518
217

250C
218

2588
219

2584
220

258C
221

2590
222

2580
223
 
E.
 
α
3B1
224
ß
DF
225
Γ
393
226
π
3C0
227
Σ
3A3
228
σ
3C3
229
µ
B5
230
τ
3C4
231
Φ
3A6
232
Θ
398
233
Ω
3A9
234
δ
3B4
235

221E
236
φ
3C6
237
ε
3B5
238

2229
239
 
F.
 

2261
240
±
B1
241

2265
242

2264
243

2320
244

2321
245
÷
F7
246

2248
247
°
B0
248

2219
249
·
B7
250

221A
251

207F
252
²
B2
253

25A0
254
 
A0
255

Notes[edit]