diff --git a/django_mailbox/utils.py b/django_mailbox/utils.py index 9a802e1..75b1ee2 100644 --- a/django_mailbox/utils.py +++ b/django_mailbox/utils.py @@ -22,7 +22,7 @@ def convert_header_to_unicode(header): return value if not encoding or encoding == 'unknown-8bit': encoding = DEFAULT_CHARSET - return value.decode(encoding, 'REPLACE') + return value.decode(encoding, 'replace') try: return ''.join(