Should i write this for french letters ?
PHP Code:
function zseo_cleaned_string($string)
{
global $vbulletin;
$bit = iif($vbulletin->options['zointsseo_url_separator'], '_', '-');
/*
french - fix start ----------------------------------------------------
*/
$string=iconv('UTF-8','ISO-8859-9',$string);
$string=iconv("ISO-8859-9", "UTF-8",$string);
/*
french - fix end ------------------------------------------------------
*/
$string = strtolower($string);
$string = unhtmlspecialchars($string);
$string = str_replace("'", '', $string);
$words = preg_split("#[^a-z0-9]#", $string, -1, PREG_SPLIT_NO_EMPTY);
$words = zseo_strip_stopwords($words, $bit);
$words = zseo_limit_keywords($words, $bit);
return implode($bit, $words);
}