Charset templates

lst_hoe02(a) wrote:

i have altered the templates for "failed encryption"/"successful
encryption" to use german umlauts in the messages.

We have done this by altering

Content-Type: text/plain
Content-Transfer-Encoding: 7bit


Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I wonder if this has any drawbacks or if this could/should be the
default for all non ASCII languages?

In general it's better not to use 8bit Content-Transfer-Encoding but to
use octet-stream or base64. The reason is that not all SMTP servers
support 8bit. If an SMTP server does not report that it supports 8bit
the SMTP server must convert it to non-8bit (for example to
ocetet-stream). Afaik Postfix will convert the message from 8bit to
octet-stream if needed but to be on the safe side it's better to use

Kind regards,



Djigzo open source email encryption