#26491Fix unit test cropIsMultibyteSafe
Description
The unit test cropIsMultibyteSafe (class tslib_contentTest) fails, if error reporting includes E_WARNING. In this case mb_strlen() throws an error, as it is called with an empty string as second parameter $charset. Initializing $GLOBALS['TSFE']->renderCharset in the setUp method solves this.
PHP Warning: mb_strlen() [<a href='function.mb-strlen'>function.mb-strlen</a>]: Unknown encoding "" in /opt/local/apache2/vhosts/master/typo3_src/t3lib/class.t3lib_cs.php line 1533