Jump to content

XML and PHP...problems with chars


frankiej

Recommended Posts

I use Simple XML to try to parse an xml file.

 

The problem is that the xml file contains Swedish chars (åäö) and whenever i try to parse the file with Simple XML i get errors becuase of that.

 

What is wrong? How do i solve it?

My XML header looks like this:

<?xml version="1.0" encoding="iso-8859-1" ?>

 

But still...Simple XML will generate erros....why?

Link to comment
https://forums.phpfreaks.com/topic/142105-xml-and-phpproblems-with-chars/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.