Coder Social home page Coder Social logo

Comments (8)

djcb avatar djcb commented on August 26, 2024

Cannot reproduce. This is what I get:

From: "Dirk-Jan C. Binnema" <[email protected]>
To: Dirk-Jan C. Binnema <[email protected]>
Subject: =?utf-8?Q?t=C3=A9st?=
Date: Wed, 03 Jul 2024 23:08:45 +0300
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

dMOpc3QNCg==

Seems to be some encoding issue.

Did you try with emacs -Q and only the barest minimal setup for mu4e?

from mu.

bderembl avatar bderembl commented on August 26, 2024

From what I see from your email, your subject is correctly encoded:
Subject: =?utf-8?Q?t=C3=A9st?=
while mine is not
Subject: tést

Do you have any idea why?

from mu.

djcb avatar djcb commented on August 26, 2024

Yes, it's all correct here.

But, can you reproduce with a bare minimal mu4e? Use something like:

emacs -Q --eval "(progn (add-to-list 'load-path \"~/Sources/mu/build/mu4e\") (setq mu4e-mu-binary \"~/Sources/mu/build/mu/mu\") (require 'mu4e) (mu4e))"

(change the paths as necessary for your setup). Thanks.

from mu.

bderembl avatar bderembl commented on August 26, 2024

yes same problem.
I need to proceed a bit differently in this case though because there is no context and mu4e is not configured to send an email.

with emacs -Q, I need to

-compose a mail with "tést" in subject, save it as a draft, select that draft, reply to all, same issue as described above.

from mu.

bderembl avatar bderembl commented on August 26, 2024

but I don't understand what you mean by " it's all correct here." since our subjects differ.

from mu.

djcb avatar djcb commented on August 26, 2024

"It's all correct here" means "When I try this, the subject is correctly encoded"

We need to find out why it's not at your side. I suspect this goes a bit beyond mu4e... can you try some of the suggestions here?
https://emacs.stackexchange.com/questions/7946/using-utf8-encoding-as-default-when-writing-emails

from mu.

bderembl avatar bderembl commented on August 26, 2024

Thank you for your assistance.
I have just tried all solutions proposed in your link but I get the same issue.

Could you clarify the sequence of events that happens when I save a mail as a draft?

In my case, the body of the message is correctly encoded but not the subject. Are these two elements treated separately?

from mu.

bderembl avatar bderembl commented on August 26, 2024

I just tested in 1.10.8
the draft email is saved as

User-agent: mu4e 1.10.8; emacs 29.3
From: BD <bruno@...>
To: BD <bruno@...>
Subject: tést
Date: Tue, 23 Jul 2024 14:46:45 +0200

tést

so no mention of UTF-8 anywhere. If I reply to this email, there is no issue: I get

Subject: Re: tést

so no issue at all.

from mu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.