Encoding and Decoding Strings (in Python 3.x)

In our other article, Encoding and Decoding Strings (in Python 2.x), we looked at how Python 2.x works with string encoding. Here we will look at encoding and decoding strings in Python 3.x, and how it is different. Encoding/decoding strings in Python 3.x vs Python 2.x Many things in Python 2.x did not change very […]

Read More

Python Unicode: Encode and Decode Strings (in Python 2.x)

Strings are among the most commonly used data types in Python, and there might be times when you want to (or have to) work with strings containing or entirely made up of characters outside of the standard ASCII set (e.g. characters with accents or other markings). Python 2.x provides a data type called a Unicode […]

Read More