Vladimir

13%
Flag icon
Not every byte holds a valid ASCII character, and not every byte sequence is valid UTF-8 or UTF-16; therefore, when you assume one of these encodings while converting a binary sequence to text, you will get a UnicodeDecodeError if unexpected bytes are found.
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview