WEBVTT

00:00:00.000 --> 00:00:06.000
Does every character take one byte to store?

00:00:06.000 --> 00:00:13.000
UTF-8 represents a Unicode code point using one to four bytes.

00:00:13.000 --> 00:00:18.000
Keep text and its encoding consistent.
6 UTF-8 basics.

00:00:18.000 --> 00:00:30.000
Start with Unicode text
UTF-8 is an encoding for representing Unicode characters.
Unicode text · UTF-8 encoding · Stored representation

00:00:30.000 --> 00:00:42.000
Allow different byte lengths
A code point can need more than one byte.
One to four bytes · Different characters · Variable length

00:00:42.000 --> 00:00:54.000
Recognise ASCII compatibility
The first 128 character values align with ASCII.
ASCII range · Matching values · Compatible text

00:00:54.000 --> 00:01:06.000
Count the intended thing
A byte count and a count of visible characters answer different questions.
File bytes · Text content · Different measures

00:01:06.000 --> 00:01:18.000
Keep the transfer consistent
The writing and reading systems need compatible encoding choices.
Written bytes · Declared encoding · Receiving system

00:01:18.000 --> 00:01:30.000
Check representative examples
Review accented names, symbols and multilingual text after transfer.
Accented text · Required symbols · Expected result

00:01:30.000 --> 00:01:39.000
Your checklist
Start with Unicode text · Allow different byte lengths · Recognise ASCII compatibility · Count the intended thing · Keep the transfer consistent · Check representative examples

00:01:39.000 --> 00:01:47.000
Test the saved and received text using representative names and symbols.
jerseyweb.je
