Actions
Bug #17272
closed'lower' TCA specification may fail with non-ascii characters
Start date:
2007-05-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
TCEmain does not use CSconv class while converting TCA strings to lower case but uses strtolower, which is not safe for non-ascii encoding.
The attached patch changes it.
(issue imported from #M5550)
Files
Updated by Martin Kutschker over 17 years ago
$GLOBALS['LANG'] has an instance of t3lib_cs ready that you can reuse.
Note: that according to the comments on top of the file $GLOBALS['LANG'] is not a requirement.
Updated by Dmitry Dulepov over 17 years ago
Thanks for hint. The rest of TCEmain also uses $LANG, so I took opportunity :)
Updated by Dmitry Dulepov over 17 years ago
I've added a patch that uses $LANG's csconv objects. Thanks again, Masi! :)
Actions