Actions
Bug #54557
closedCharsetConverter::crop calls utf8_char2byte_pos when encoding is utf-8
Start date:
2013-12-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
- Regular PHP substr() works fine on regular UTF-8 strings;
- TYPO3 backend is fully UTF-8 based by default in 6.1;
- Database connection is enforced to be UTF-8 during bootstrap;
The call to utf8_char2byte_pos() can be skipped and the substr() result returned immediately when the charSet is utf-8.
Actions