2f5590bf38
This patch changes the decryption functions not to fail if there was an unicode decode error while converting the decrypted bytes plaintext into a native python string. Characters that cannot be decoded as unicode are now replaced with the unicode replacement character (U+FFFD). The old behaviour of raising an UnicodeDecodeError can be achieved by passing the "strict" error handling scheme to the decrypt function. |
||
---|---|---|
.. | ||
__init__.py | ||
__version__.py | ||
_compat.py | ||
_finalize.py | ||
account.py | ||
group_session.py | ||
pk.py | ||
sas.py | ||
session.py | ||
utility.py |