#16856Incorrect multi-byte string length check in checkValue_init
Description
In t3lib_TCEmain::checkValue_input used byte-oriented substr().
In case of input field (max length set to 20 chars) containing 20 chars in 2-byte utf-8 string it is reduced up to 20 BYTES = 10 chars.
Suggest to patch t3lib_TCEmain to use t3lib_cs::substr.
(issue imported from #M4781)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.