Umlaut in custom_strings.php

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
GeroldK
Posts: 14
Joined: 30 Jul 2009, 12:12

Umlaut in custom_strings.php

Post by GeroldK »

Hi,

I have added a new status to a Mantis 1.1.6 system carefully following the instructions in the manual.

Our $s_status_enum_string in custom_strings.php contains german umlauts. Those display correctly in the editor (wordpad and notepad were used), but display as questionmarks in the browser. I tried saving as text and unicode text. The latter makes the pages really look funny. Seems PHP source cannot be unicode (as you can tell by now I'm a PHP illiterate).

For now I placed it in strings_german.txt (and other places where it shouldn't be) and it is working, but I'm worried about the next upgrade.

What am I doing wrong? Thanks.

/GeroldK
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Umlaut in custom_strings.php

Post by Kirill »

Try use different editors, such as Akelpad or Notepad2. You can find his on Google. Its free.
Buga
Posts: 74
Joined: 31 Mar 2008, 12:10

Re: Umlaut in custom_strings.php

Post by Buga »

I had the same issue but as I didnt want to waste to much time I simply wrote the umlaut in the "wrong" way.
eg.
ü = ü
ä = ä
ö = ö

If you find a proper solution let me know:)
Post Reply