Unicode in Python: Working With Character Encodings

Python’s Unicode support is strong and robust, but it takes some time to master. There are many ways of encoding text into binary data, and in this course you’ll learn a bit of the history of encodings. You’ll also spend time learning the intricacies of Unicode, UTF-8, and how to use them when programming Python. You’ll practice with multiple examples and see how smooth working with text and binary data in Python can be!

By the end of this course, you’ll know:

  • What an encoding is
  • What ASCII is
  • How binary displays as octal and hex values
  • How UTF-8 encodes a code point
  • How to combine code points into a single glyph
  • Which built-in functions can help you

What’s Included:

Downloadable Resources:

About Christopher Trudeau

Christopher has a passion for the Python language and writes for Real Python. He is a consultant who helps advise organizations on how to improve their technical teams.

» More about Christopher

Each tutorial at Real Python is created by a team of developers so that it meets our high quality standards. The team members who worked on this tutorial are:

Participant Comments

Avatar image for William

William on July 2, 2020

I’m surprised that there aren’t any comments yet! You deserve better, Mr. Trudeau.

This was an •excellent• progression of lesson videos, Christopher.

Thank you.

← Browse All Courses