2026-09-02-quiz-python-3-15-preview-utf-8-by-default-7af7776b0b
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.
COMMENTS
Loading comments…