Closed pikim closed 4 years ago
I suppose the problem occurs when umlauts and substr(...)
meet, so that possibly a single special character takes a number of characters > 1. See also https://www.php.net/manual/en/function.mb-substr.php. The relevant code positions would be the following:
I will probably be able to do some debugging in about a week.
It's an issue with substr
, exactly the way you described it. I replaced substr
with mb_substr
and passed "UTF-8"
as fourth parameter and now it works. It will be contained in the next release.
When a month name contains German umlauts, the translation won't be displayed properly. E.g. März: only the first two letters are shown instead of the first 3. When a month name doesn't contain umlauts it works well, see: