Unicode in Python: Working With Character Encodings – Real Python

Unicode & Character Encodings in Python: A Painless Guide

Christopher Trudeau

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

Unicode in Python: Working With Character Encodings

9 Lessons 51m

Christopher Trudeau 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:

« Browse All Courses