Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é UTF-8?

Definition 5.6 High School Computer Science · Capítulo 5 — Text Encodings: From ASCII to UTF-8

UTF-8 encodes each code point in 11 to 44 bytes. Its bits are placed in the free positions x of the patterns of the figure below, from left to right. The first byte tells how many bytes follow; every following byte, a continuation byte, starts with the bits 10.

The four patterns of UTF-8, their fixed bits in red, and é encoded by hand: its 11 bits fill the x of the two-byte pattern.
The four patterns of UTF-8, their fixed bits in red, and é encoded by hand: its 1111 bits fill the x of the two-byte pattern.
Ler no capítulo →