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

Enforce SMTPUTF8 policy #2546

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

Psych0meter
Copy link

The bot encountered this kind of error when processing emails containing non-ASCII characters (e.g., accents or special symbols):

UnicodeEncodeError: 'ascii' codec can't encode character '\xe0' in position 4: ordinal not in range(128)

Dump example :

{
    "__type": "Event",
    "extra.doc_count": 380,
    "extra.subject": "Merci \u00e0 tous pour cette ann\u00e9e GiGA exceptionnelle \u2013 cap sur 2025 ! (raw: Merci =?utf-8?Q?=C3=A0?= tous pour cette =?utf-8?Q?ann=C3=A9e?= GiGA exceptionnelle =?utf-8?Q?=E2=80)",
    "feed.accuracy": 100.0,
    "feed.name": "xxx",
    "feed.provider": "xxx",
    "raw": "xxx",
    "time.observation": "2024-12-23T20:53:35.319135+00:00"
}

@sebix
Copy link
Member

sebix commented Jan 3, 2025

Thank you for the fix! I'll look into it, hopefully this weekend.

If the CI tests fail, it's likely not because of your changes.

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

Successfully merging this pull request may close these issues.

2 participants