I have a xml -> html process using a proprietary xsl file which I can view, but not change. Some of the resultant html includes some characters which will not display in a browser except as "¿".
My first question is how can I find out exactly what character lies behind this ¿? I think one of the ¿s is the unicode character
which displays as a footnote dagger (†). But how can I be sure (since there are others as well).
My second question is how can I then search and replace these characters with their html entity equivelants? My code
$str = preg_replace('/\#8224', '†', $str); // dagger