From: Eli Zaretskii <eliz@gnu.org>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 25658@debbugs.gnu.org
Subject: bug#25658: 26.0.50; ELisp part in a mail isn't encoded properly
Date: Fri, 10 Feb 2017 09:51:32 +0200 [thread overview]
Message-ID: <83k28y4h6j.fsf@gnu.org> (raw)
In-Reply-To: <b4m7f4yeucw.fsf@jpl.org> (message from Katsumi Yamaoka on Fri, 10 Feb 2017 09:56:47 +0900)
> Date: Fri, 10 Feb 2017 09:56:47 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
>
> On Thu, 09 Feb 2017 11:35:50 +0900, Katsumi Yamaoka wrote:
> > In a message draft, an ELisp part containing non-ASCII letters,
> > like the following, is not encoded properly.
>
> > <#part type="application/emacs-lisp" disposition=inline>
> > (defun mm-shr (handle)
> > ...
> > ;; Remove "soft hyphens".
> > (goto-char (point-min))
> > (while (search-forward "" nil t)
> > (replace-match "" t t))
> > <#/part>
>
> ;; Note that "" is a soft hyphen.
>
> What Gnus wants to do is:
>
> (quoted-printable-encode-string
> (encode-coding-string "" 'iso-8859-1))
> => "=AD"
Then why doesn't Gnus do exactly that?
next prev parent reply other threads:[~2017-02-10 7:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 2:35 bug#25658: 26.0.50; ELisp part in a mail isn't encoded properly Katsumi Yamaoka
2017-02-10 0:56 ` Katsumi Yamaoka
2017-02-10 7:51 ` Eli Zaretskii [this message]
2017-02-10 17:33 ` Glenn Morris
2017-02-12 23:05 ` Katsumi Yamaoka
2017-02-13 2:03 ` Glenn Morris
2017-02-13 5:44 ` Eli Zaretskii
2017-02-13 8:31 ` Katsumi Yamaoka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83k28y4h6j.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=25658@debbugs.gnu.org \
--cc=yamaoka@jpl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).