If both mbstring and iconv are not present, use recode

as last resort to perform charset conversions before using
internal libraries.
This commit is contained in:
stronk7
2006-01-07 17:15:47 +00:00
parent fabeaa5418
commit dee5beecd7
+3
View File
@@ -34,6 +34,9 @@
/// Else if mbstring is available, lets Typo3 library use it
} else if (extension_loaded('mbstring')) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_convMethod'] = 'mbstring';
/// Else if recode is available, lets Typo3 library use it
} else if (extension_loaded('recode')) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_convMethod'] = 'recode';
} else {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['t3lib_cs_convMethod'] = '';
}