[TYPO3-core] Changing TYPO3 source charset to UTF-8?
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu May 3 10:38:26 CEST 2007
Ingmar Schlecht schrieb:
> 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.
Good idea.
Masi
PS: Still I think more and more that we should start removing really old
cruft before the advent of 5.0. The new beast will be completely
incompatible anyway. So why bother with deprecating features but never
remove them.
More information about the TYPO3-team-core
mailing list