O'Reilly logo

Python 2.6 Text Processing Beginner's Guide by Jeff McNeil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Understanding Encodings and i18n

In this chapter, we'll look at text-encoding systems, Unicode, and a method for providing translations for your Python applications.

It's important that you understand the differences between characters, encodings, and differing encoding types. Failing to do so can lead to lesser quality software that is hard to make available to an international market. Building a sound foundation here will help you write high-quality, bug-free code.

Specifically, we'll touch on the following topics:

  • ASCII and KOI8-R. Two character sets built such that each character representation fits into one byte.
  • Unicode and how it alleviates issues created with multiple 8-bit encoding schemes. We'll look at both the Unicode system ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required