[TYPO3-core] RFC: Fix Bug 6428 - strtoupper doesn't work with turkish i
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Oct 29 09:22:48 CET 2007
Martin Kutschker wrote:
> You code removes a strictly speaking unnecessary strtoupper() when
> creating the marker array. Is it possible for a hook to add contents to
> that array? If so it must be defined that the values are supposed to be
> in uuper case, which is a change in the behaviour. Otherwise the patch
> is probably correct.
>
> But note that the whole templating system of TYPO3 has such a magic
> uppercasing feature for template markers. If you want to fix that too
> you must switch to the locale C before doing strtoupper() and switching
> back (other solution is tr/a..z/A..Z/).
Any idea why don't we use t3lib_cs there for upper-casing? I am +1 for removing strtoupper, just wondering why it was there...
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-team-core
mailing list