I've got the folowing xml string in php:
$str="<name>An☢maly</name>";
I then do the following:
$tmp=new SimpleXMLElement($str);
if I do:
echo $tmp->name;
I get this:
An☢maly
When I do:
echo utf8_decode($tmp->name);
I get:
An?maly
How do I get PHP to display that funny character, it also does it with the following:
ƎnƔy™ = ?n?y?