It has to be something with the characters, right ?
$search = array(".", "\", "+", "-", "*", "/", "!", "%", ">", "<", "^", "(",
")", "[", "]", "{", "}", "\\", "=", "$", "#", "?", "~", ":", "_", "&",
"©", " ", """, "ü", "&", ";", "\n");
$line = str_replace($search, " ", $line);