[TYPO3-dev] Typo3 4.2 Cache Bug?

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu May 1 09:55:48 CEST 2008


Klaus Hinum wrote:
> We have now solved the problem by using the mb_substr() function. Still 
> I think the Typo3 cache shouldn't just stop writing the cached data in 
> the db without any error message.

I'd like to hear exact proposals what to change instead of "shouldn't just stop writing". What exactly we should change? Should we check for every character produced by every extension that it fits to UTF-8 properly? Is it truly our job to repair extension bugs? I do not think so, sorry :( If extension produce wrong output, this is not TYPO3 fault.

> Does the Typo3 string cutting function take UTF-8 into consideration? 

Yes. They take any charset into consideration. Look at t3lib/class.t3lib_cs.php.

> Does it need mbstring?

TYPO3 can use mb_string automatically. Check Install tool.

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"




More information about the TYPO3-dev mailing list