Thank you very much for the solution.
The solution works but I had to change the second character to the unicode-code.
List is here: https://resources.german.lsa.umich.edu/schreiben/unicode/
Example:
$new_content = str_replace( ‘?’,’replace this’,$new_content ); //