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

Michael Stucki michael at typo3.org
Fri Dec 2 00:12:24 CET 2005


Martin Kutschker wrote:

>> > 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.

It doesn't bloat the class, but it makes the list of functions longer. If it
is only used by one function, I don't think a new function makes sense.
That's why I asked if this can be used somewhere...

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/



More information about the TYPO3-team-core mailing list