[TYPO3-core] RFC: #7393: Wrapperfunctions for strtoupper and strtolower

Steffen Kamper steffen at sk-typo3.de
Tue Feb 19 16:34:32 CET 2008


"Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
Newsbeitrag 
news:mailman.1.1203431255.17343.typo3-team-core at lists.netfielders.de...
> Steffen Kamper schrieb:
>> "Martin Kutschker" <Martin.Kutschker at n0spam-blackbox.net> schrieb im 
>> Newsbeitrag 
>> news:mailman.1.1203429673.13658.typo3-team-core at lists.netfielders.de...
>>> Martin Kutschker schrieb:
>>>> I have commited this to 4_2 but to be of any effect there needs to be a
>>>> followup for tslib and indedex search.
>>> I have commited attached change for indexed search. I think the 
>>> reasoning
>>> of this is clear as it has been discussed before (Turkish locale).
>>>
>>> Masi
>>
>> great, thx!
>> So i can modify the replace unused marker patch as well to use this 
>> function now.
>
> Yes.
>
> I have found it tslib_content a few occurrences of toupper and tolower 
> that work on tags and attributes. For html this should (in theory) work on 
> ASCII as html tags and attributes may not contain any accenteded 
> characters. But this is not true for xml which allows also allows utf8 
> (only?) in names. As this is rarely seen and xml is case sensitive anyway, 
> I think it is safe to use the new ASCII wrappers to avoid further problems 
> with Turkish.
>
> Do you think that many people use typotags or markers that contain 
> accented characters (latin1) or eg cyrillic?
>

no, i don't think so. Markers are usually in english, and they should not 
use any special char.

vg Steffen 




More information about the TYPO3-team-core mailing list