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?
German Umlaut in Status in eMail Subject
Moderators: Developer, Contributor
Re: German Umlaut in Status in eMail Subject
Take a look in the PHP documentation:
http://fr3.php.net/manual/en/function.strtoupper.php
http://fr2.php.net/manual/en/function.setlocale.php
http://fr3.php.net/manual/en/function.strtoupper.php
http://fr2.php.net/manual/en/function.setlocale.php
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
-
- Posts: 8
- Joined: 09 Nov 2006, 13:32
Re: German Umlaut in Status in eMail Subject
@deboutv
The Originalstring is Rückmeldung, - so I have not to deal with German Umlaute.
The Question ist, why is it not shown as Rückmeldung in the Subject of the Mail?
It seems to me, that it has something to do with UTF-8.
So the question seems to be - how can I change the encoding which mantis uses?
The Originalstring is Rückmeldung, - so I have not to deal with German Umlaute.
The Question ist, why is it not shown as Rückmeldung in the Subject of the Mail?
It seems to me, that it has something to do with UTF-8.
So the question seems to be - how can I change the encoding which mantis uses?
Re: German Umlaut in Status in eMail Subject
i want to know this to for Croatian language. in notification mail i only get ???? for croatian letters in subject and in message.
does anyone have a clue how to solve this??
i changed all encoding to UTF-8 and still doesn't work.
does anyone have a clue how to solve this??
i changed all encoding to UTF-8 and still doesn't work.