Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Question regarding encoding rules
Sorry if this is documented some place, but so far I didn't find anything related:
my forum runs using a custom language pack ("Deutsch-formal-1.1.5a"). All strings defined in this AddOn's definitions.php are encoded correctly, no matter whether they contains special characters or not.
Some of the other installed Add-Ons don't come with their own translation. So I translated some of the installed Add-Ons' strings in /conf/language.php as is recommended in /conf/readme.txt.
What happens though is that strings that are translated inside /conf/language.php don't seem to follow the standard encoding rules. This means that I have to encode my translations myself e.g. writing "[ampersand]uml[semicolon]" instead of "ü".
So my questions are:
my forum runs using a custom language pack ("Deutsch-formal-1.1.5a"). All strings defined in this AddOn's definitions.php are encoded correctly, no matter whether they contains special characters or not.
Some of the other installed Add-Ons don't come with their own translation. So I translated some of the installed Add-Ons' strings in /conf/language.php as is recommended in /conf/readme.txt.
What happens though is that strings that are translated inside /conf/language.php don't seem to follow the standard encoding rules. This means that I have to encode my translations myself e.g. writing "[ampersand]uml[semicolon]" instead of "ü".
So my questions are:
- is there some global file that is giving the encoding rules for the entire forum?
- why are strings from \languages\Deutsch-formal-1.1.5a\definitions.php encoded correctly while strings from other files aren't?
0