L
LarsM
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:
http://netm.dk/blog/rss/index_rss2.xml
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:
http://netm.dk/blog/rss/test_rss2.xml
The text decodes correctly on my regular web pages on http://netm.dk/
What am I doing wrong?
Regards,
Lars
www.netm.dk
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:
http://netm.dk/blog/rss/index_rss2.xml
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:
http://netm.dk/blog/rss/test_rss2.xml
The text decodes correctly on my regular web pages on http://netm.dk/
What am I doing wrong?
Regards,
Lars
www.netm.dk