Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please see our video player troubleshooting guide to resolve the issue.

Unicode in Python: Working With Character Encodings (Summary)

Congratulations on learning more about character encodings! In this lesson, you’ll cover a few caveats to remember when you’re working with encodings and see some resources you can check out to keep learning.

In this course, you learned about:

  • Fundamental concepts of character encodings and numbering systems
  • Integer, binary, octal, hex, str, and bytes literals in Python
  • Differences between Unicode code points and UTF-8 encoding
  • Python’s built-in functions related to character encoding and numbering systems
  • Other encoding formats included in Python’s Standard Library

It’s very important to know the encoding of any data you read. Using the wrong encoding may result in an exception, or worse it will read successfully but have the wrong content.

Wikipedia has some useful pages:

You can also check out these resources:

Download

Sample Code (.zip)

6.4 KB

Download

Course Slides (.pdf)

1.6 MB

Comments & Discussion

Alain Rouleau on July 2, 2020

Very interesting, thanks!

Pradeep Kumar on July 6, 2020

Awesome Course!!!

Become a Member to join the conversation.