Python 3.15 Preview: UTF-8 by Default Quiz

Interactive Quiz ⋅ 8 Questions
By Joseph Peart

In this quiz, you’ll test your understanding of Python 3.15 Preview: UTF-8 by Default.

By working through this quiz, you’ll revisit where Python’s old default text encoding came from, which operations rely on that default, how to find code that leans on it, how to pass an explicit encoding in your own functions and libraries, and how to restore the locale-based behavior when you really need it.

The quiz contains 8 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

A person places the third of three identical Café cards onto a numbered rack beside a machine with gauges, a Python logo, and panels labeled UTF-8 and SAFE.

Tutorial

Python 3.15 Preview: UTF-8 by Default

Preview the Python 3.15 UTF-8 default: see what changes, try it on a pre-release, and keep your file I/O portable across every platform.

intermediate python