Actions
Bug #79684
closedExtbase validator StringLength fails on counting the length of text with umlauts
Start date:
2017-02-08
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
In extbase StringLength validator on line 59 $stringLength = strlen($value);
the length is wrong if umlaute (ä,ö,ü) in text. Probably also with other multibyte characters in text.
We fixed this quickly by using mb_strlen instead of strlen in our own extension and overwrite the StringLengthValidator class.
Is mb_strlen the solution for this problem? Is it planned to fix this problem in the validator soon?
Actions