[TYPO3-core] RFC: #7393: Wrapperfunctions for strtoupper and strtolower
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Tue Feb 5 18:21:00 CET 2008
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
More information about the TYPO3-team-core
mailing list