After hours of searching I have decided I perhaps should use Tek-Tips to hopefuly find an answer to this.
I have an XML file that is encoded in ISO-8859-1. When I open this in a browser everything is fine. In particular £(GBP signs) which is my main concern.
When I load the xml page via an ASP script and view the contents all of the "£" signs have changed to "�" as well as some other special characters.
How do I get these characters to display correctly. I also need to enter them into a database.
I have had this issue many times over the years but it has been solved by making sure all pages are set to utf-8. What can I do to change the ISO-8859-1 encoding to UTF-8 after the XML file has been loaded.
I have tried programmatically changing the encoding of the XML file to utf-8 but this gives me the a question mark in a black diamond instead of the correct characters.
Thanks in advance for any help on this issue
Web Development Manager
I have an XML file that is encoded in ISO-8859-1. When I open this in a browser everything is fine. In particular £(GBP signs) which is my main concern.
When I load the xml page via an ASP script and view the contents all of the "£" signs have changed to "�" as well as some other special characters.
How do I get these characters to display correctly. I also need to enter them into a database.
I have had this issue many times over the years but it has been solved by making sure all pages are set to utf-8. What can I do to change the ISO-8859-1 encoding to UTF-8 after the XML file has been loaded.
I have tried programmatically changing the encoding of the XML file to utf-8 but this gives me the a question mark in a black diamond instead of the correct characters.
Thanks in advance for any help on this issue
Web Development Manager