Overview of Text and Byte Sequences in Python

Overview of Text and Byte Sequences in Python

★ This chapter will discuss the following topics:Character, code point, and byte representationUnique features of binary sequences such as bytes, bytearray, and memoryviewCodecs for all Unicode and legacy character setsAvoiding and handling encoding errorsBest practices for handling text filesTraps of default encoding and issues with standard I/ONormalizing Unicode text for safe comparisonUtility functions for normalization, … Read more