base64 Incorrect Padding

MRAB python at mrabarnett.plus.com
Sat Aug 1 00:24:09 CEST 2009


bfrederi wrote:
> So what if I used a different encoding that isn't ASCII? Like UTF-8?
> Would that give me lengths that are multiples of 4 based on how the
> characters are represented? Or would I still need to pad with '='?

I think that when it says Base-64 it's talking about the byte values
used for the encoding.



More information about the Python-list mailing list