Project

General

Profile

« Previous | Next » 

Revision 505

Added by Matthias almost 17 years ago

Added changeset [504] to branches

View differences:

frontend.functions.php
84 84
		$foo = preg_replace('/('.$string.')/i', '<span class="highlight">$1</span>',$foo);
85 85
	}
86 86
	$foo = strtr($foo, array("!,,!"=>"&lt;", "!,,,!"=>"&gt;", "!,,,,!"=>"&amp;", "!,,,,,!"=>"&quot;", "!,,,,,,!"=>"&#39;"));
87
	//$foo = umlauts_to_defcharset($foo, 'UTF-8');
87 88
	if(DEFAULT_CHARSET != 'utf-8') {
88
		$foo = umlauts_to_defcharset($foo, 'UTF-8');
89
		$foo = umlauts_to_entities($foo, 'UTF-8');
89 90
	}
90 91
	return $foo;
91 92
}

Also available in: Unified diff