[TYPO3-core] RFC: Respect target if specified in file header

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Dec 1 22:27:34 CET 2005


Michael Stucki <michael at typo3.org> writes on 
Thu, 01 Dec 2005 21:34:01 +0100 (MET):

> > 
> > Could you move the charset detection in a separate function? The
> > function
> > should take a string as argument, so it can be used from other
> > code.
> 
> Is there a need for that? Otherwise I would wait with that. t3lib_div
> grows more and more...


Hm, you already expand t3lib_div with your patch. All I asked for was that the new autoConvertCS() used a new detectCharset().

I don't see how two small functions are more bloat than one large. Especially if those two server more uses than the single one.

Masi 



More information about the TYPO3-team-core mailing list