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.
Learn more with these courses
CodeFriends courses that build on this story. Practice in the browser with nothing to install.
- Python Programming 101Learn Python in just 20 hours! Kickstart your programming journey with this beginner-friendly course.Beginner20 Hours
- Introduction to Web Development (Light)Master HTML, CSS, and JavaScript in just 10 hours.Beginner10 Hours
- Mastering SQL FundamentalsIn the era of data and AI, numbers speak louder than words. Build a solid foundation in SQL to query, manage, and analyze data effectively.Beginner20 Hours
COMMENTS
Loading comments…