function eZSetupMBStringExtension($type) { $result = eZMBStringMapper::hasMBStringExtension(); $charsetList = eZMBStringMapper::charsetList(); return array('result' => $result, 'persistent_data' => array('result' => array('value' => $result)), 'charset_list' => $charsetList); }
function isCharsetSupported( $charset_code ) { $charset_code = eZCharsetInfo::realCharsetCode( $charset_code ); return in_array( $charset_code, eZMBStringMapper::charsetList() ); }