Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeEncodeError #159

Open
kbiernat opened this issue Dec 28, 2017 · 1 comment
Open

UnicodeEncodeError #159

kbiernat opened this issue Dec 28, 2017 · 1 comment

Comments

@kbiernat
Copy link

kbiernat commented Dec 28, 2017

While parsing attached email I get an exception:
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcea' in position 5595: surrogates not allowed

This only occurs in Python 3.5, in Py27 it's fine.
django-mailbox==4.6

https://github.com/watchdogpolska/poradnia/blob/issue/485/poradnia/letters/tests/messages/surrogates_message.eml

Related issue with full exception: watchdogpolska/poradnia#485

ad-m added a commit to watchdogpolska/django-mailbox that referenced this issue Jan 3, 2018
ad-m added a commit to watchdogpolska/django-mailbox that referenced this issue Jan 3, 2018
@pfouque
Copy link
Collaborator

pfouque commented Dec 17, 2023

#164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants