-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update functions.inc.php #829
base: master
Are you sure you want to change the base?
Conversation
See also issue 828: #828 |
I believe your problem is that you dont have a iso88591-locale installed on your server, so a UTF-8 locale is used instead...? |
That's quite possibly true, but since it is not my server I have absolutely no control over which locales are available... :-/ I'm going to investigate as soon as I have a decent keyboard in front of me. Debugging from a phone is not my favourite thing. ;-) EDIT: |
Here in this file we declare the used locales:
Your locale does not seem listed here; you could try to add it there and if it works we can make a PR for that change instead? Thanks for helping to improve Serendipity :) |
The complete list of supported locales is quite extensive, here are the ones for German:
Seems like my provider omitted the dash between 8859 and 1, could that be the problem? |
Yes it can be dependant on the specific OS and configuration. You should be able to just add the locale to the file and place that I mentioned, add it at the beginning, not the end...? |
I edited /lang/serendipity_lang_de.inc.php line 9 to read I think I will just keep my patch in the functions.inc.php for now. I guess there is something wrong with my configuration. I always seem to run into localization problems anyways, it's kind of my thing. ;-) |
If you want, let us debug this. I always want to know the root of this 😅 |
Ok, but on weekdays I don't have that much time so beware of my response times. ;-) |
If charset in use is not UTF-8, convert function $out to LANG_CHARSET first