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

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Feb 19 14:48:10 CET 2008


Steffen Kamper schrieb:
> "Martin Kutschker" <martin.kutschker-n0spam at no5pam-blackbox.net> schrieb im 
> Newsbeitrag 
> news:mailman.1.1202232053.5978.typo3-team-core at lists.netfielders.de...
>> Steffen Kamper schrieb:
>>> This is a SVN patch request.
>>>
>>> Branches: Trunk only
>>>
>>> BT reference: http://bugs.typo3.org/view.php?id=7393
>>>
>>> Type: Feature
>>>
>>> Problem:
>>> To avoid locale problems with Turkish we discussed wrapper functions in
>>> t3lib_div.
>>> Here are the functions
>>>   t3lib_div::strtoupper
>>>   t3lib_div::strtolower
>>
>> +1 but please change the description:
>>
>> "Converts string to uppercase
>> The function converts all Latin characters (A-Z, but no accents, etc) to
>> uppercase. It is safe for all supported character sets (incl. utf-8).
>> Unlike strtoupper() it does not honour the locale."
>>
>> And the same for strtolower.
>>
>> BTW, if strtupper wouldn't honour the locale then it couldn't transform
>> ä to Ä for German, etc.
>>
>> Masi
> 
> thx for the description, Masi.
> new patch is attached.

I have commited this to 4_2 but to be of any effect there needs to be a 
followup for tslib and indedex search.

Masi


More information about the TYPO3-team-core mailing list