charset.school
Encode in Latin-1

sandbox

Latin-1 sandbox (encode)

Convert a Unicode code point to a Latin-1 (ISO 8859-1) byte. 1:1 mapping over the U+0000U+00FF range.

Accepts U+XXXX, 0xXX, decimal, or a single character.

U+00E9é
1 byte

Decimal

233

Hexadecimal

0xE9

Binary

11101001

Step-by-step breakdown

  1. 01

    Convert to binary

    Code point U+00E9 fits in exactly 8 bits. Latin-1 makes the code point value coincide with the byte value: no marker, no splitting.

    11101001
  2. 02

    Convert to hexadecimal

    The 8 bits form a single byte, i.e. 2 hex digits.

    0xE9
charset.school

Teaching tool. No tracking, no ads.

Developed by Florent Sorel