emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master 83c3a61: lisp/gnus/message.el (message-send-mai


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 83c3a61: lisp/gnus/message.el (message-send-mail): Don't wrongly assert on Unicode msg
Date: Tue, 04 Jun 2019 09:15:31 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> There's already existing message.el code that sets
> `message-inhibit-body-encoding' to t.  But if the encoding is
> inhibited, we should not assert if Unicode was not encoded.

So from your description I think indeed this has nothing to do with
Unicode: the code you changed doesn't "assert if Unicode was not
encoded".  It asserts that the text was not encoded.  Unicode or
anything else.  German umlauts are chars that indeed appear in the
Unicode charset, but they also appear in many other charsets (such as
latin1).

"Encoding" turns chars into bytes and the test verifies that there are
only bytes left.  


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]