In Zabbix 5.4.9 we've configured special characters in the Subject of emails. After upgrade to 5.4.10 this remained working. However after having upgraded to Zabbix 6.0.0 these special characters are now replaced by '??'
Steps to reproduce:
- Go to Administration - Media Types - Email - Message templates.
- Configure a template (for example the problem template) and use a special character. like '⚠️'.
That the special characters in the subject are shown, or that it's clear how they can be shown.
Result in Zabbix 5.4: The special characters are shown in the email subject
Email header related lines::
Result in Zabbix 6.0.0: The special characters in the email subject are replaced with '??'
Email header related lines:
Subject: WSEMon??Updated: Version of zabbix_agent(d) was changed on Zabbixserver
It looks like the special character is not translated to ?UTF-8?Q? code.
Remarkable extra info:
- When using the email TEST, the special characters are nicely shown.
Content-Type: text/html; charset="UTF-8"
- When I replaced the content of the subject field with the result of the working 5.4 (so adding ?UTF-8?Q?.....?= it's still not working.
Subject: WSEMon?Resolved: Apache: has been restarted (uptime < 10m)
Date: Sat, 19 Feb 2022 16:42:21 +0100
Message-ID: <[email protected]>