Java Reference
In-Depth Information
Value
Char
Value
Char
Value
Char
Value
Char
Value
Char
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
space
!
"
#
$
%
&
'
(
)
*
+
'
-
.
/
0
1
2
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
3
4
5
6
7
8
9
:
;
<
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Y
Z
[
\
]
ˆ
-
'
a
b
c
d
e
f
g
h
i
j
k
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
{
|
}
~
=
>
?
@
A
B
C
D
E
FIGURE C.1 A small portion of the Unicode character set
character. All of these characters are ASCII characters as well. Many of them have
fairly common and well-defined uses, while others are more general. The table in
Figure C.2 lists a small sample of the nonprintable characters.
Nonprintable characters are used in many situations to represent special condi-
tions. For example, certain nonprintable characters can be stored in a text docu-
ment to indicate, among other things, the beginning of a new line. An editor will
process these characters by starting the text that follows it on a new line, instead
of printing a symbol to the screen. Various types of computer systems use differ-
ent nonprintable characters to represent particular conditions.
Except for having no visible representation, nonprintable characters are essen-
tially equivalent to printable characters. They can be stored in a Java character
variable and be part of a character string. They are stored using 16 bits, can be
converted to their numeric value, and can be compared using relational operators.
Search WWH ::




Custom Search