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

Michael Stucki michael at typo3.org
Fri Dec 2 00:20:19 CET 2005


Hi Martin,

> Well, you can try and see if it is valid UTF-8. UTF-8 has rather distinct
> byte pattern. So if a test says it's UTF-8 it very likely is unless there
> are only 7-bit chars in the tested string.
> 
> PHP's mbstring has a function that tests for UTF-8 and here is a regexp
> that tests for UTF-8
> 
> http://www.w3.org/International/questions/qa-forms-utf-8.html

Interesting, thanks.

>> Is there a need for that? Otherwise I would wait with that. t3lib_div
>> grows more and more...
> 
> How about makeing a t3lib_util.php?
> 
> Logically it belongs more to t3lib_cs but this class also shouldn't grow
> too large. Hm, a t3lib_cs_utils?

If you think it makes sense, you can create this class. In this case I would
move the function into t3lib_cs_utils. Otherwise it just stays in
t3lib_div. No problem for me.

>> I don't think it is a big slow-down, do you think so?
> 
> Yes I do. An dif understood Franz correctly he also argued for enabling
> manually by the admin.

See my other reply.

- 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