U+0038 DIGIT EIGHT

Glyph appearance depends on your fonts.

U+0038

DIGIT EIGHT

General category
Decimal Digit Number Nd
Unicode block
Basic Latin
Combining class
0
Bidirectional class
EN
Mirrored
No
Numeric value
8

U+0038 DIGIT EIGHT is a Unicode 16.0.0 character in the Decimal Digit Number category. It belongs to the Basic Latin block.

Encodings & representations

Choose the representation you need, then copy its value.

Code point

U+0038

Decimal value

56

HTML decimal reference

8

HTML hexadecimal reference

8

UTF-8 bytes (hex)

38

UTF-16 code units (hex)

0038

UTF-32 code unit (hex)

00000038

URL percent-encoded UTF-8

%38

C# Unicode escape

\u0038

JavaScript Unicode escape

\u0038

JSON Unicode escape

\u0038

CSS Unicode escape (trailing space)

\0038

ASCII position (7-bit)

56 (0x38)

ISO-8859-1 position (Latin-1)

56 (0x38)

Windows-1252 position

56 (0x38)
About these encodings
  • ASCII positions run from 0 to 127. Position cards show the decimal byte value followed by hexadecimal.
  • “Extended ASCII” is not a single encoding. ISO-8859-1 (Latin-1) and Windows-1252 are shown separately; they differ at bytes 128–159. Windows-1252 leaves five of those bytes undefined.
  • Legacy position cards appear only when the character has an exact mapping. For example, the euro sign is Windows-1252 byte 128 (0x80), but has no ASCII or Latin-1 position. A legacy byte is not necessarily the Unicode code point or its UTF-8 encoding.
  • Percent encoding lists every UTF-8 byte; URL-safe characters do not normally need encoding.
  • JSON escapes omit the surrounding quotes.
  • UTF code units are not byte-order-specific.
  • HTML parsers remap numeric references for U+0000 and some control characters, so these may not round-trip.