Page 1 of 1

German Umlaut in Status in eMail Subject

Posted: 13 Feb 2008, 09:40
by Dieter Soergel
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?

Re: German Umlaut in Status in eMail Subject

Posted: 14 Feb 2008, 07:34
by deboutv

Re: German Umlaut in Status in eMail Subject

Posted: 14 Feb 2008, 08:52
by Dieter Soergel
@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?

Re: German Umlaut in Status in eMail Subject

Posted: 01 Apr 2009, 10:46
by zvijerka
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.