Umlaut in custom_strings.php
Posted: 30 Jul 2009, 12:45
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
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