[TYPO3-core] RFC #10838: t3lib_cs->utf8_decode() does not check whether the target charset is utf8

Martin Kutschker masi-no at spam-typo3.org
Fri Apr 3 16:28:27 CEST 2009


Dmitry Dulepov schrieb:
> Hi!
> 
> Ingo Renner wrote:
>> ok with the braces, strcasecmp() is not necessarry though as "utf-8" is
>> the way it's used consistently through out the core. Other than that it
>> was just a simple copy and paste from utf8_encode ;)
> 
> I always wanted to change it case insensitive :) But we can do it later, no problem. You have your +1s :)

If you want you can even use the charset mapping routine of t3lib_cs.
This will also allow for UTF8 (without hyphen).

Masi



More information about the TYPO3-team-core mailing list