Back to feed

Quiz: Python 3.15 Preview: UTF-8 by Default

Real Python

EDITOR BRIEF

This quiz explores Python 3.15’s move to UTF-8 as the default text encoding. It also looks back at the older locale-based encoding and the practice of setting encodings explicitly in code.

INSIGHTS

This matters because text encoding affects how files and strings are read and written. If you work with Python, try checking where your code relies on defaults and update it to use explicit encodings.

CodeFriends courses that build on this story. Practice in the browser with nothing to install.

COMMENTS

0/40
0/2000

Loading comments…