German Umlaut in Status in eMail Subject
Posted: 13 Feb 2008, 09:40
Hello
we use Mantis 1.1.1.
I applied a patch so the Status of the issue is shown in the Subject of the eMails.
Looks like:
[Testprojekt 0002339]: ZUGEWIESEN: Testeintrag
In English
[Testprojekt 0002339]: ASSIGNED: Testeintrag
I added the following code to the email_api.php:
...
$email_subject_status = strtoupper(get_enum_element('status', $t_status ));
...
Now to the Problem:
If a issue is changed to Feedback (Rückmeldung) the Subject of the eMail looks like this
[Testprojekt 0002339]: RÜCKMELDUNG: Testeintrag
The same happens to other stati with german umlaut in the eMail Subject.
The plain subject in the eMail looks like:
Subject: =?utf-8?Q?[Testprojekt_0002339]:_RÜCKMELDUNG:_Manti
But - the Rückmeldung string is shown correct in the State - Comboboxes.
I assume it has something to do with Character set, but I am not a professional in this topics.
How can I fix this?
we use Mantis 1.1.1.
I applied a patch so the Status of the issue is shown in the Subject of the eMails.
Looks like:
[Testprojekt 0002339]: ZUGEWIESEN: Testeintrag
In English
[Testprojekt 0002339]: ASSIGNED: Testeintrag
I added the following code to the email_api.php:
...
$email_subject_status = strtoupper(get_enum_element('status', $t_status ));
...
Now to the Problem:
If a issue is changed to Feedback (Rückmeldung) the Subject of the eMail looks like this
[Testprojekt 0002339]: RÜCKMELDUNG: Testeintrag
The same happens to other stati with german umlaut in the eMail Subject.
The plain subject in the eMail looks like:
Subject: =?utf-8?Q?[Testprojekt_0002339]:_RÜCKMELDUNG:_Manti
But - the Rückmeldung string is shown correct in the State - Comboboxes.
I assume it has something to do with Character set, but I am not a professional in this topics.
How can I fix this?