S SearchRSS
< BackHome
Newest questions tagged python - Stack Overflow

b64encode() / b64decode - unbalanced encoding

Why does the output from b64encode() need to be decoded with utf-8 to convert it to a string while the output from b64decode needs to be decoded with utf-32 to do the same? import base64 in_str = r"!\"#$%&'()*+,-./01234

View original source