💾 Archived View for bbs.geminispace.org › u › gemalaya › 18046 captured on 2024-08-31 at 15:48:41. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-19)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 😺 gemalaya

Re: "Misfin reference server crashes when mail is sent..."

In: s/misfin

@flipperzero Nice job. I've internationalized the interface so that people can select the display language for the UI, the french translation is finished, next will be spanish, other languages will require contributions. This will be pushed to master today.

😺 gemalaya

Jun 21 · 2 months ago

3 Later Comments ↓

😺 gemalaya · Jun 21 at 11:41:

@flipperzero @istvan i18n support added, only french translation for now

😺 gemalaya · Jun 21 at 11:41:

The language can be changed in the settings.

😎 flipperzero · Jun 21 at 20:53:

@gemalaya the server is updated to the latest commit now

Original Post

🌒 s/misfin

Misfin reference server crashes when mail is sent containing unicode in the name or body of the message and the recipient is using MailDir or MH. Error ultimately comes from Python itself. The mailbox module is not Unicode safe and leads to a crash: File "/email/generator.py", line 410, in write self._fp.write(s.encode('ascii', 'surrogateescape')) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128) Appears it may work if you are using gembox...

💬 istvan · 16 comments · Jun 16 · 2 months ago