I've created a pdf generator from Wordpress content, which works great. But one of the problems I have is replacing characters with php... I'm really hoping there's just a big list that I can copy and paste, does one exist, hopefully in the format below?
Here's an example of my list (that I've just started):
$str=array(
'“' => '"',
'”' => '"',
'„' => '"',
'…' => '...',
'’' => '\'',
'–' => '-',
' ' => ' '
);
Or is there a function or easier way to do this? I don't want to manually enter a billion codes.