
Character Set


Contents

Charactersetlisting
ControlcodesusedinBlackBox


The character set for the Component Pascal SHORTCHAR data type is an 8-bit character set based on the ISO 8859-1 standard. It includes the ASCII (American Standard Code for Information Interchange) and the so-called Latin-1 extension to ASCII. Latin-1 includes most characters necessary for writing in languages which are based on Latin.
The character set for the Component Pascal CHAR data type is Unicode.

Both ASCII and Latin-1 contain slots for control characters, which are character codes used for various purposes, but which do not correspond to any glyph, i.e. visual representation of a character.

For BlackBox, several punctuation marks from the 16-bit Unicode standard have been mapped into the unused upper control code portion of Latin-1.


Character set listing

The following list gives the names of every non-control code in the character set. The same naming conventions are used as in the Unicode standard, of which the Component Pascal character set is a subset.

Hex	Char	Name	Comment

20	 	SPACE
21	!	EXCLAMATION MARK
22	"	QUOTATION MARK
23	#	NUMBER SIGN
24	$	DOLLAR SIGN
25	%	PERCENT SIGN
26	&	AMPERSAND
27	'	APOSTROPHE-QUOTE
28	(	OPENING PARENTHESIS
29	)	CLOSING PARENTHESIS
2A	*	ASTERISK
2B	+	PLUS SIGN
2C	,	COMMA
2D	-	HYPHEN-MINUS	use as minus only, for hyphens
			see codes 90, 91 and AD
2E	.	PERIOD
2F	/	SLASH
30	0	DIGIT ZERO
31	1	DIGIT ONE
32	2	DIGIT TWO
33	3	DIGIT THREE
34	4	DIGIT FOUR
35	5	DIGIT FIVE
36	6	DIGIT SIX
37	7	DIGIT SEVEN
38	8	DIGIT EIGHT
39	9	DIGIT NINE
3A	:	COLON
3B	;	SEMICOLON
3C	<	LESS-THAN SIGN
3D	=	EQUAL SIGN
3E	>	GREATER-THAN SIGN
3F	?	QUESTION MARK
40	@	COMMERCIAL AT
41	A	LATIN CAPITAL LETTER A
42	B	LATIN CAPITAL LETTER B
43	C	LATIN CAPITAL LETTER C
44	D	LATIN CAPITAL LETTER D
45	E	LATIN CAPITAL LETTER E
46	F	LATIN CAPITAL LETTER F
47	G	LATIN CAPITAL LETTER G
48	H	LATIN CAPITAL LETTER H
49	I	LATIN CAPITAL LETTER I
4A	J	LATIN CAPITAL LETTER J
4B	K	LATIN CAPITAL LETTER K
4C	L	LATIN CAPITAL LETTER L
4D	M	LATIN CAPITAL LETTER M
4E	N	LATIN CAPITAL LETTER N
4F	O	LATIN CAPITAL LETTER O
50	P	LATIN CAPITAL LETTER P
51	Q	LATIN CAPITAL LETTER Q
52	R	LATIN CAPITAL LETTER R
53	S	LATIN CAPITAL LETTER S
54	T	LATIN CAPITAL LETTER T
55	U	LATIN CAPITAL LETTER U
56	V	LATIN CAPITAL LETTER V
57	W	LATIN CAPITAL LETTER W
58	X	LATIN CAPITAL LETTER X
59	Y	LATIN CAPITAL LETTER Y
5A	Z	LATIN CAPITAL LETTER Z
5B	[	OPENING-SQUARE BRACKET
5C	\	BACKSLASH
5D	]	CLOSING SQUARE BRACKET
5E	^	SPACING CIRCUMFLEX
5F	_	SPACING UNDERSCORE
60	`	SPACING GRAVE
61	a	LATIN SMALL LETTER A
62	b	LATIN SMALL LETTER B
63	c	LATIN SMALL LETTER C
64	d	LATIN SMALL LETTER D
65	e	LATIN SMALL LETTER E
66	f	LATIN SMALL LETTER F
67	g	LATIN SMALL LETTER G
68	h	LATIN SMALL LETTER H
69	i	LATIN SMALL LETTER I
6A	j	LATIN SMALL LETTER J
6B	k	LATIN SMALL LETTER K
6C	l	LATIN SMALL LETTER L
6D	m	LATIN SMALL LETTER M
6E	n	LATIN SMALL LETTER N
6F	o	LATIN SMALL LETTER O
70	p	LATIN SMALL LETTER P
71	q	LATIN SMALL LETTER Q
72	r	LATIN SMALL LETTER R
73	s	LATIN SMALL LETTER S
74	t	LATIN SMALL LETTER T
75	u	LATIN SMALL LETTER U
76	v	LATIN SMALL LETTER V
77	w	LATIN SMALL LETTER W
78	x	LATIN SMALL LETTER X
79	y	LATIN SMALL LETTER Y
7A	z	LATIN SMALL LETTER Z
7B	{	OPENING CURLY BRACKET
7C	|	VERTICAL BAR
7D	}	CLOSING CURLY BRACKET
7E	~	TILDE
7F		reserved

80 .. 89		reserved
8A	Š	LATIN CAPITAL LETTER S CARON	(Unicode 0160)
8B		ZERO WIDTH SPACE	(Unicode 200B)
8C	Œ	LATIN CAPITAL LIGATURE OE	(Unicode 0152)
8D		reserved
8E	Ž	LATIN CAPITAL LETTER Z CARON	(Unicode 017D)
8F		DIGIT SPACE	(not in Unicode)
90		HYPHEN	(Unicode 2010)
91	‑	NON-BREAKING HYPHEN	(Unicode 2011)
92 .. 99		reserved
9A	š	LATIN SMALL LETTER S CARON	(Unicode 0161)
9B		reserved
9C	œ	LATIN SMALL LIGATURE OE	(Unicode 0153)
9D		reserved
9E	ž	LATIN SMALL LETTER Z CARON	(Unicode 017E)
9F	Ÿ	LATIN CAPITAL LETTER Y DIAERESIS	(Unicode 0178)

A0		NON-BREAKING SPACE
A1		INVERTED EXCLAMATION MARK
A2		CENT SIGN
A3		POUND SIGN
A4		CURRENCY SIGN
A5		YEN SIGN
A6		BROKEN VERTICAL BAR
A7		SECTION SIGN
A8		SPACING DIAERESIS
A9		COPYRIGHT SIGN
AA		FEMININE ORDINAL INDICATOR
AB		LEFT POINTING GUILLEMET
AC		NOT SIGN
AD		SOFT HYPHEN
AE		REGISTERED TRADE MARK SIGN
AF		SPACING MACRON
B0		DEGREE SIGN
B1		PLUS-OR-MINUS SIGN
B2		SUPERSCRIPT DIGIT TWO
B3		SUPERSCRIPT DIGIT THREE
B4		SPACING ACUTE
B5		MICRO SIGN
B6		PARAGRAPH SIGN
B7		MIDDLE DOT
B8		SPACING CEDILLA
B9		SUPERSCRIPT DIGIT ONE
BA		MASCULINE ORDINAL INDICATOR
BB		RIGHT POINTING GUILLEMET
BC		FRACTION ONE QUARTER
BD		FRACTION ONE HALF
BE		FRACTION THREE QUARTERS
BF		INVERTED QUESTION MARK
C0		LATIN CAPITAL LETTER A GRAVE
C1		LATIN CAPITAL LETTER A ACUTE
C2		LATIN CAPITAL LETTER A CIRCUMFLEX
C3		LATIN CAPITAL LETTER A TILDE
C4		LATIN CAPITAL LETTER A DIAERESIS
C5		LATIN CAPITAL LETTER A RING
C6		LATIN CAPITAL LETTER A E
C7		LATIN CAPITAL LETTER C CEDILLA
C8		LATIN CAPITAL LETTER E GRAVE
C9		LATIN CAPITAL LETTER E ACUTE
CA		LATIN CAPITAL LETTER E CIRCUMFLEX
CB		LATIN CAPITAL LETTER E DIAERESIS
CC		LATIN CAPITAL LETTER I GRAVE
CD		LATIN CAPITAL LETTER I ACUTE
CE		LATIN CAPITAL LETTER I CIRCUMFLEX
CF		LATIN CAPITAL LETTER I DIAERESIS
D0		LATIN CAPITAL LETTER ETH
D1		LATIN CAPITAL LETTER N TILDE
D2		LATIN CAPITAL LETTER O GRAVE
D3		LATIN CAPITAL LETTER O ACUTE
D4		LATIN CAPITAL LETTER O CIRCUMFLEX
D5		LATIN CAPITAL LETTER O TILDE
D6		LATIN CAPITAL LETTER O DIAERESIS
D7		MULTIPLICATION SIGN
D8		LATIN CAPITAL LETTER 0 SLASH
D9		LATIN CAPITAL LETTER U GRAVE
DA		LATIN CAPITAL LETTER U ACUTE
DB		LATIN CAPITAL LETTER U CIRCUMFLEX
DC		LATIN CAPITAL LETTER U DIAERESIS
DD		LATIN CAPITAL LETTER Y ACUTE
DE		LATIN CAPITAL LETTER THORN
DF		LATIN SMALL LETTER SHARP S
E0		LATIN SMALL LETTER A GRAVE
E1		LATIN SMALL LETTER A ACUTE
E2		LATIN SMALL LETTER A CIRCUMFLEX
E3		LATIN SMALL LETTER A TILDE
E4		LATIN SMALL LETTER A DIAERESIS
E5		LATIN SMALL LETTER A RING
E6		LATIN SMALL LETTER A E
E7		LATIN SMALL LETTER C CEDILLA
E8		LATIN SMALL LETTER E GRAVE
E9		LATIN SMALL LETTER E ACUTE
EA		LATIN SMALL LETTER E CIRCUMFLEX
EB		LATIN SMALL LETTER E DIAERESIS
EC		LATIN SMALL LETTER I GRAVE
ED		LATIN SMALL LETTER I ACUTE
EE		LATIN SMALL LETTER I CIRCUMFLEX
EF		LATIN SMALL LETTER I DIAERESIS
F0		LATIN SMALL LETTER ETH
F1		LATIN SMALL LETTER N TILDE
F2		LATIN SMALL LETTER O GRAVE
F3		LATIN SMALL LETTER O ACUTE
F4		LATIN SMALL LETTER O CIRCUMFLEX
F5		LATIN SMALL LETTER O TILDE
F6		LATIN SMALL LETTER O DIAERESIS
F7		DIVISION SIGN
F8		LATIN SMALL LETTER O SLASH
F9		LATIN SMALL LETTER U GRAVE
FA		LATIN SMALL LETTER U ACUTE
FB		LATIN SMALL LETTER U CIRCUMFLEX
FC		LATIN SMALL LETTER U DIAERESIS
FD		LATIN SMALL LETTER Y ACUTE
FE		LATIN SMALL LETTER THORN
FF		LATIN SMALL LETTER Y DIAERESIS



Control codes used in BlackBox

The following control codes are used in the BlackBox Component Framework:

00X	nul	string terminator
01X	unicode	unicode mask character
02X	viewcode	view mask character
07X	rdel	right delete key
08X	del	left delete key
09X	tab	tabulator key
0AX	ltab	reverse tabulator key
0DX	line	return key	(Unicode 2028, LINE SEPARATOR)
0EX	para	paragraph separator	(Unicode 2029, PARAGRAPH SEPARATOR)
10X	pL	page left
11X	pR	page right
12X	pU	page up
13X	pD	page down
14X	dL	document left
15X	dR	document right
16X	dU	document up
17X	dD	document down
1BX	esc	escape key
1CX	aL	arrow left key
1DX	aR	arrow right key
1EX	aU	arrow up key
1FX	aD	arrow down key

Of these codes, only tab, line, and para should ever be stored in a text, i.e., are not considered to be control codes in BlackBox. The ASCII DEL code (07FX) is not used in BlackBox and remains reserved.
