[Python-3000] base64 - bytes and strings (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Tue Jul 31 03:26:28 CEST 2007
- Previous message: [Python-3000] base64 - bytes and strings
- Next message: [Python-3000] test_asyncore fails intermittently on Darwin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Talin wrote:
I believe that converting a Unicode string to a base64 encoded form is necessarily a 2-step process.
Well, yes, but only because base64 itself takes arbitrary binary data as input, not Unicode strings. Encoding anything other than binary data as base64 is going to require an extra step in that sense.
So the fact that you can vary one encoding without changing the other would seem to argue for the notion that they are distinct and independent.
I would say that the first encoding is outside the scope of base64 and therefore irrelevant to this discussion.
-- Greg
- Previous message: [Python-3000] base64 - bytes and strings
- Next message: [Python-3000] test_asyncore fails intermittently on Darwin
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]