I'm trying to read a .xml file but the Swedish ÅÄÖ does not work. I get ä instead of ä for example. Can someone please tell me why? Here is my code.
$xml = simplexml_load_file("bilder.xml");
foreach ($xml->bilder->bild as $bild)
{
echo $bild->text;
echo '<br>';
}
Same thing happens if I save the result to mySQL each lap in the loop. mySQL will not show me ÅÄÖ in a correct way when looking at the data with phpmyadmin.