Lesson 2 of 2 in this module

18/43 in track

String encoding & unicode gotchas

python12 min

Locked lessonText & Patterns

String encoding & unicode gotchas

A file starts as bytes, not text. Learn how encodings turn bytes into characters and why the wrong encoding creates errors or unreadable text.