From: "Alex Bennée" <alex.bennee@linaro.org>
To: help-gnu-emacs@gnu.org
Subject: Changes to message-mode and encoding in Emacs26
Date: Tue, 26 Sep 2017 16:41:03 +0100 [thread overview]
Message-ID: <87tvzpcvsg.fsf@linaro.org> (raw)
Hi,
I've just recently updated to the Emacs 26 branch and I've run into an
odd problem with message encoding. Despite (I think) having utf-8 set
throughout when sending email I get a warning complaining that utf-8
can't encode my name.
While composing everything works fine, the character is described as:
character: é (displayed as é) (codepoint 233, #o351, #xe9)
preferred charset: unicode-bmp (Unicode Basic Multilingual Plane (U+0000..U+FFFF))
code point in charset: 0xE9
script: latin
syntax: w which means: word
category: .:Base, L:Left-to-right (strong), c:Chinese, j:Japanese, l:Latin, v:Viet
to input: type "C-x 8 RET e9" or "C-x 8 RET LATIN SMALL LETTER E WITH ACUTE"
buffer code: #xC3 #xA9
file code: #xC3 #xA9 (encoded by coding system utf-8-unix)
display: terminal code #xC3 #xA9
But when I send it ends up:
character: (displayed as ) (codepoint 4194243, #o17777703, #x3fffc3)
preferred charset: eight-bit (Raw bytes 128-255)
code point in charset: 0xC3
syntax: w which means: word
category: L:Left-to-right (strong)
to input: type "C-x 8 RET 3fffc3"
buffer code: #xC3
file code: not encodable by coding system utf-8-unix
display: not encodable for terminal
And a prompt:
These default coding systems were tried to encode text
in the buffer ‘1506440244.6bae7e76af4f300b.zen:2,S’:
(utf-8-unix (347 . 4194243) (348 . 4194217))
However, each of them encountered characters it couldn’t encode:
utf-8-unix cannot encode these:
Click on a character (or switch to this window by ‘M-x other-window’
and select the characters by RET) to jump to the place it appears,
where ‘C-u C-x =’ 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
If I force raw-text it seems to look fine. Any idea what's going on?
There is a bug raised with mu4e (the mail client using message-mode):
https://github.com/djcb/mu/issues/1081
--
Alex Bennée
next reply other threads:[~2017-09-26 15:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-26 15:41 Alex Bennée [this message]
2017-09-29 13:18 ` Changes to message-mode and encoding in Emacs26 Eli Zaretskii
2017-09-29 14:12 ` Alexis
2017-09-29 14:42 ` Alex Bennée
2017-09-29 17:47 ` Eli Zaretskii
2017-09-30 2:21 ` Alexis
2017-10-02 8:36 ` Alex Bennée
2017-10-02 16:03 ` Eli Zaretskii
2017-10-02 17:12 ` Alex Bennée
2017-10-02 17:25 ` Eli Zaretskii
2017-10-03 14:07 ` Alex Bennée
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvzpcvsg.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=help-gnu-emacs@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.