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

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Mon May 7 14:05:32 CEST 2007


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. So should do well-behaving extensions. I expect we are safe with 
this "de-facto-existing" requirement.

This fix is needed by fix for bug 689 (Domain Record with umlaut Domains 
not working)

Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_5550_v3.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070507/0db09a55/attachment.pot 

More information about the TYPO3-team-core mailing list