base64.encode and decode not correct
damir at agg.astranet.ru
Wed Aug 17 06:55:31 CEST 2005
Damir b wrote:
>I found a strange bug in base64.encode and decode, when I try to encode
>- decode a file 1728512 bytes lenth.
>Is somebody meet with this? I don't attach the file because it big, but
>can send to private.
>Which solution for transfer file (binary data) via string-only object?
I made a mistake. I open and encode file on Linux and save and decode it
on Windows without "b" in mode.
I found it 5 minutes past I sent last message when I try to use
binascii.hexlify and took the same result.
Thanks to all.
More information about the Python-list