Hallo Andreas, Yasushi,

On Mon, 24 Oct 2016 16:04:51 +0200, Andreas Grünbacher wrote:
> 2016-10-24 15:45 GMT+02:00 Jean Delvare <jdelv...@suse.de>:
> > My understanding is that --charset should match what is used in the
> > patches themselves. The value is used for the Content-Type header of
> > each message and there is no conversion done.
> 
> Indeed. On systems using UTF-8, that header should automatically be
> set appropriately; on other systems, the ISO-8859-15 character set is
> assumed.
> 
> Headers are supposed to be 7-bit only, so we need to encode recipient
> addresses with special characters. (This still doesn't catch special
> characters in the subject, but that doesn't seem to be a very bit
> problem at least.)
> 
> > It is also passed to the edmail helper script, which uses it to encode
> > the recipient names. But that is an internal detail which I don't think
> > the user needs to know. In fact I don't know why edmail needs to know
> > the charset used for the body, if the recipient fields end up being
> > encoded anyway it might as well always use UTF-8? But that's a somewhat
> > different topic, and I'm not familiar with email encoding so I could be
> > plain wrong.
> 
> The Content-Type header still needs to be added to messages.

But this is done by the mail command script directly, not the edmail
helper script.

> > Andreas, what would be a good description for the mail --charset
> > option? "Specify the character encoding of the patches."?
> 
> The --charset option allows to specify a particular message encoding
> on systems which don't use UTF-8 or ISO-8859-15.

So...

--charset
        Specify a particular message encoding on systems which don't use
        UTF-8 or ISO-8859-15. This character encoding must match the one
        used in the patches.

Are we good with this?

Thanks,
-- 
Jean Delvare
SUSE L3 Support

_______________________________________________
Quilt-dev mailing list
Quilt-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to