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

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Wed May 9 12:22:35 CEST 2007


Reminder :)

-------- Original Message --------
Subject: [TYPO3-core] RFC: Bug 5550: 'lower' TCA specification may fail 
with non-ascii characters
Date: Mon, 07 May 2007 15:05:32 +0300
From: Dmitry Dulepov <9f4eetb02 at sneakemail.com>
Newsgroups: typo3.teams.core

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. 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.)


-- 
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/20070509/f2de25b3/attachment.pot 


More information about the TYPO3-team-core mailing list