~sircmpwn/aerc2#156:
My name in "From" appears to be encoded wrong

My name is Fausto Núñez Alberro

Shown in From in sent emails is =?utf-8?q?Fausto_N=C3=BA=C3=B1ez_Alberro_

Is this due to an encoding issue on my system or a fault in aerc?

Status
RESOLVED FIXED
Submitter
~brainlessdeveloper
Assigned to
No-one
Submitted
5 months ago
Updated
5 months ago
Labels
No labels applied.

~sircmpwn 5 months ago

Is that shown in the UI or are you reading the encoded emails?

~brainlessdeveloper 5 months ago

It's both shown in the UI and sent like that to the server (I think).

In the UI, I see From =?utf-8?q?Fausto_N=C3=BA=C3=B1ez_Alberro_.

In other clients (in my case mailbox.org's web application) I see Fausto_N=C3=BA=C3=B1ez_Alberro_.

~brainlessdeveloper 5 months ago

This is the entry in my accounts.conf:

from     = Fausto Núñez Alberro

Encoding of this file is UTF-8.

~sircmpwn 5 months ago

Aside: you should include your email address in the from config, like this:

from = Drew DeVault <sir@cmpwn.com>

~emersion am I doing this wrong?

https://git.sr.ht/~sircmpwn/aerc/tree/master/widgets/compose.go#L220-222

~brainlessdeveloper 5 months ago

On the aside: I have it like you suggested, I just removed my email from the comment for privacy. That was probably silly, provided my email address is everywhere heh.

~emersion 5 months ago

am I doing this wrong?

Yes, you'll need to use SetAddressList, with a singleton list

~sircmpwn 5 months ago

If you hadn't censored your email, I could have mailed you this patch:

https://paste.sr.ht/~sircmpwn/9931852ebd397cdf4b84781d3864d9f498b9c668

Can you try this and tell me if it fixes the issue for you?

~brainlessdeveloper 5 months ago

The patch fixes the issue on my side. Thanks!

~sircmpwn REPORTED FIXED 5 months ago

Register here or Log in to comment, or comment via email.