Home

0x0D

0x0D is the hexadecimal value representing decimal 13. In ASCII and Unicode contexts, it corresponds to the control character known as Carriage Return (CR), with the Unicode code point U+000D. In UTF-8, the character is encoded as a single byte 0x0D.

Historically, a carriage return moved the printing cursor to the beginning of the current line on typewriters

In software development, CR is commonly represented in strings by the escape sequence \r in languages such

Because CR is a non-printable control character, its primary relevance lies in line-ending conventions and cursor

and
early
printers.
In
modern
computing,
CR
is
used
as
a
line-ending
control
character.
In
Windows
environments
and
many
network
protocols,
lines
are
terminated
with
a
two-byte
sequence
consisting
of
CR
followed
by
Line
Feed
(0x0D
0x0A),
known
as
CRLF.
By
contrast,
Unix-like
systems
typically
use
just
LF
(0x0A)
for
line
endings,
and
some
older
Macintosh
systems
used
CR
alone.
as
C,
Java,
and
Python.
In
data
streams
and
network
protocols,
0x0D
may
appear
as
a
raw
byte;
some
systems
convert
CRLF
sequences
to
a
single
newline
during
processing.
The
code
point
U+000D
is
the
formal
Unicode
designation,
and
its
UTF-8
encoding
remains
the
single
byte
0x0D.
control
rather
than
textual
content.
Improper
handling
of
0x0D
can
lead
to
display
or
parsing
issues
in
cross-platform
text
processing
and
network
communication.