# Python 3.15 Preview: UTF-8 by Default

DevFeed: [Python 3.15 Preview: UTF-8 by Default](<https://devfeed.tech/articles/python-3-15-preview-utf-8-by-default-4401.md>)

Original publisher: [Read original article](<https://realpython.com/python315-utf8-default/>)

Author: Leodanis Pozo Ramos

Published: 2026-09-02T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [IO](<https://devfeed.tech/topics/io.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>)

Tags: [linux](<https://devfeed.tech/tags/linux.md>), [macos](<https://devfeed.tech/tags/macos.md>), [python](<https://devfeed.tech/tags/python.md>), [release](<https://devfeed.tech/tags/release.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

This tutorial previews Python 3.15's UTF-8 default for text I/O and explains how explicit encodings keep file handling portable across platforms and Python versions.

## Source excerpt

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.