Project

General

Profile

« Previous | Next » 

Revision 881

Added by thorn about 16 years ago

search: replaced most of $string_ul_umlauts (from search_convert.php) through use of preg's u-switch. Replaced strtr() by str_replace() (it's just faster). Changed ' to '

View differences:

functions.php
350 350
}
351 351

  
352 352
// Convert a string from mixed html-entities/umlauts to pure $charset_out-umlauts
353
// Will replace all numeric and named entities except > < ' " '  
353
// Will replace all numeric and named entities except > < ' " '  
354 354
// In case of error the returned string is unchanged, and a message is emitted.
355 355
function entities_to_umlauts($string, $charset_out=DEFAULT_CHARSET) {
356 356
	require_once(WB_PATH.'/framework/functions-utf8.php');

Also available in: Unified diff