On 04/12/2016 09:20 AM, Chris Angelico wrote: > On Wed, Apr 13, 2016 at 2:15 AM, Ethan Furman >> latin1? I thought latin1 had a code point for 0-255, so how could using it >> raise an encoding error? > > Latin-1 / ISO-8859-1 defines a character for every byte, so any byte > string will *decode*. It only defines 256 characters as having > equivalent bytes, though, so *encoding* can fail. Ah, right -- so if you start with bytes it cannot fail, if you start with a string it can. -- ~Ethan~
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4