Terry Reedy wrote: > "Greg Ewing" <greg.ewing at canterbury.ac.nz> wrote in message > >> Which is why I think that only *unicode* codings should be >> available through the .encode and .decode interface. Or >> alternatively there should be something more explicit like >> .unicode_encode and .unicode_decode that is thus restricted. > > I prefer the shorter names and using recode, for instance, for bytes to > bytes. While I prefer constructors with an explicit encode argument, and use a recode() method for 'like to like' coding. Then the whole encode/decode confusion goes away.
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