[TYPO3-core] RFC: Bug 5550: 'lower' TCA specification may fail with non-ascii characters

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon May 7 14:17:27 CEST 2007

Dmitry Dulepov schrieb:
> Hi!
> This is SVN patch request.
> Problem: "lower" specification in TCA's "eval" may cause string cut 
> after non-ascii character. Reason for this is that it uses strtolower 
> and not multibyte handling functions.
> Problem: use conversion routine from csConv object of $LANG.
> Note: this also changes $LANG to be officially required by TCEMain. 
> Earlier it was required as well (see post by Masi some days ago) but it 
> was said different in the header of the file. In reality core always 
> uses template.php when it uses TCEMain and template.php makes $LANG 
> global.

$LANG is (as $BE_USER and $TCA) IMHO a requirement for all BE scripts.

+1, but I note that you use "$LANG". AFAIR the seem to be a preference for 
$GLOBALS['LANG'] if the object is not used very often (more than 4 times???).


More information about the TYPO3-team-core mailing list