German Umlaut in Status in eMail Subject

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Dieter Soergel
Posts: 8
Joined: 09 Nov 2006, 13:32

German Umlaut in Status in eMail Subject

Post 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?
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: German Umlaut in Status in eMail Subject

Post by deboutv »

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
Dieter Soergel
Posts: 8
Joined: 09 Nov 2006, 13:32

Re: German Umlaut in Status in eMail Subject

Post 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?
zvijerka
Posts: 6
Joined: 16 Jan 2008, 14:24
Location: Croatia

Re: German Umlaut in Status in eMail Subject

Post 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.
Post Reply