load xml with asp lost central european chars

B

badd

Hi,

my problem is that i load an xml file (which displayed
well in iexplorer standalone) with an asp file, and the
page displays o instead of ő, u instead of ű, so my
central european characters are changed. the xml well
formed, and well encoded. i hope ;)

<?xml version="1.0" encoding="ISO-8859-2"?>
<tests>
<test>o</test>
<test>ő</test>
</tests>
 
M

Martin Honnen

badd said:
my problem is that i load an xml file (which displayed
well in iexplorer standalone) with an asp file, and the
page displays o instead of ő, u instead of ű, so my
central european characters are changed. the xml well
formed, and well encoded. i hope ;)

<?xml version="1.0" encoding="ISO-8859-2"?>
<tests>
<test>o</test>
<test>ő</test>
</tests>

Show us your ASP code to load the XML file. And the code that then
processes the XML and sends output to the browser.
 
B

badd

-----Original Message-----



Show us your ASP code to load the XML file. And the code that then
processes the XML and sends output to the browser.
--

Martin Honnen
http://JavaScript.FAQTs.com/

.

thank you, but resolved.
the solution was, that i had to write a
<%@ CodePage=1250 %>
line to the asp. anyway, it was simple:

Set xmlDoc = CreateObject("Microsoft.XMLDOM")

xmlDoc.async="false"
xmlDoc.load(Server.MapPath("test.xml"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top