[TYPO3-core] Changing TYPO3 source charset to UTF-8?

Ingmar Schlecht ingmar at typo3.org
Wed May 2 20:34:23 CEST 2007


Martin Kutschker wrote:
> I'm talking about this:
> 
>     function danish_strtoupper($string)    {
>         $value = strtoupper($string);
>         return strtr($value, 'áéúíâêûôîæøåäöü', 'ÁÉÚÍÄËÜÖÏÆØÅÄÖÜ');
>     }
> 
> Now it works on latin1, if you change the PHP file charset it'll work on
> utf-8. Anyway, the funcion is more than deprecated. Just remove it and
> add some !!! to the log entry.

I think keeping them as wrapper functions using t3lib_cs would be the
best solution.

cheers
Ingmar


More information about the TYPO3-team-core mailing list