473,378 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

load xml with asp lost central european chars

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>
Jul 19 '05 #1
2 2036


badd wrote:
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.
--

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

Jul 19 '05 #2
-----Original Message-----
badd wrote:
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 thenprocesses 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"))

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
1
by: Mohit | last post by:
Hello Friends, Our department has created a few (6) Web Applications and all these applications share a common piece of code which does the "User Authentication". I would like to isolate the...
9
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target...
3
by: Matija Brnetic | last post by:
I am having problems with displaying central european letter(croatian) in my ASP.NET project, how can i fix that ? thnx
2
by: Andy Mabbett | last post by:
Although I only speak English, I need to learn techniques for publishing text using non-European scripts (initially Urdu & Punjabi). I think I'm getting there, but I'm having problems finding...
10
by: lamxing | last post by:
Dear all, I've spent a long time to try to get the xmldocument.load method to handle UTF-8 characters, but no luck. Every time it loads a document contains european characters (such as the...
1
by: Dennis | last post by:
I've noticed some old posts regarding this issue; but nothing recently and no resolutions in the old postings. Its almost hard for me to believe that this wouldn't be fixed by now. I am using...
8
by: sneddo | last post by:
Ok I am trying to do the above, I have got a script that will restrict the length but it requires the user to enter the field and hit a key, before it will work. This would normaly be find, but...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.