Giter VIP home page Giter VIP logo

Comments (5)

jeremy-compostella avatar jeremy-compostella commented on June 19, 2024

Hi,

First of all I don't use mu4e (I use gnus) but many people use the mu4e backend of org-msg successfully. My point is I cannot investigate unless you help me a little. In my opinion this is an issue of the org-msg-save-article-for-reply-mu4e function which may not be extracting the right portion of the original HTML message and include this # coding: utf-8. I suggest that you either investigate the org-msg-save-article-for-reply-mu4e by yourself or share a original HTML message with which you reproduce the issue.

Regards,
Jeremy

from org-msg.

wedens avatar wedens commented on June 19, 2024

That's the html of the message I was replying to (just some text):

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- 2020-02-28 Fri 16:35 --><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="generator" content="Org mode"/><meta name="author" content="wedens"/></head><body>
<div style="font-family:&quot;Arial&quot;;font-size:10pt;line-height:11pt;" id="content">
<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;max-width:100ch;">
test123<br/></p>
</div>
</body></html>

Also, when I try to reply to it, emacs prompts me to select coding system and there are two buffers (other than message itself) open:

first buffer:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- 2020-02-28 Fri 16:35 --><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><meta name="viewport" content="width�vice-width, initial-scale=1"/><meta name="generator" content="Org mode"/><meta name="author" content="wedens"/></head><body><div align="left">
From: "wedens" &lt;xxxxx@xxxx&gt;<br>
Subject: test<br>
To: "wedens" &lt;xxxxx@xxxxx&gt;<br>
Cc: <br>
Date: Fri, 28 Feb 2020 16:35:20 +0700<br>
</div>
<hr>

<div style="font-family:&quot;Arial&quot;;font-size:10pt;line-height:11pt;" id="content">
<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;max-width:100ch;">
test123<br/></p>
</div>
</body></html>

second buffer:

These default coding systems were tried to encode text
in the buffer ‘87mu93qckn.fsf@xxxxx’:
  (utf-8 (206 . 4194270))
However, each of them encountered characters it couldn’t encode:
  utf-8 cannot encode these: �

Click on a character (or switch to this window by ‘C-x o’
and select the characters by RET) to jump to the place it appears,
where ‘SPC u g a’ will give information about it.

Select one of the safe coding systems listed below,
or cancel the writing with C-g and edit the buffer
   to remove or modify the problematic characters,
or specify any other coding system (and risk losing
   the problematic characters).

  raw-text no-conversion

Seems like something weird is goning on here: <meta name="viewport" content="width�vice-width, initial-scale=1"/> (note some weird character in content attribute).

from org-msg.

jeremy-compostella avatar jeremy-compostella commented on June 19, 2024

I tried to reproduce this issue but I could not. Could you disable your Emacs configuration and try again ?

from org-msg.

jeremy-compostella avatar jeremy-compostella commented on June 19, 2024

Any update ?

from org-msg.

wedens avatar wedens commented on June 19, 2024

No, sorry. I'm still unsure why it happens.

from org-msg.

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.