Hi all,
I am new to XML, but I use it for an RSS feed.
I have one problem, which I have really been struggling with.
My XML document is generated from the contents of a MySQL database. It is
UTF-8 encoded.
However, the Danish special characters appear wrong.
For example the letter å becomes "Ã¥", the letter ø becomes "ø"
See an examle here:
I thought that it could be because the encoding was not set in the document,
so I added this:
<?xml version="1.0" encoding="UTF-8" ?>
However, that did not make any difference, as can be seen here:
The text decodes correctly on my regular web pages on http://netm.dk/
What am I doing wrong?
Regards,
Lars
I am new to XML, but I use it for an RSS feed.
I have one problem, which I have really been struggling with.
My XML document is generated from the contents of a MySQL database. It is
UTF-8 encoded.
However, the Danish special characters appear wrong.
For example the letter å becomes "Ã¥", the letter ø becomes "ø"
See an examle here:
I thought that it could be because the encoding was not set in the document,
so I added this:
<?xml version="1.0" encoding="UTF-8" ?>
However, that did not make any difference, as can be seen here:
The text decodes correctly on my regular web pages on http://netm.dk/
What am I doing wrong?
Regards,
Lars
Comment