You are here:  » International character issue


International character issue

Submitted by kim_oerum on Thu, 2006-01-12 13:54 in

Hello,

I need to parse xml file containing national characters (Danish). The header in the xml file looks like:

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>

Uploading the file to the demo / parser test here - shows the characters OK. But when I am using the parser on my installation these characters do not display correctly.

Reading the same "data" from a CVS fils worked correct, but I need to use the XML input format.

Please give me any suggestion on what can be the issue. Thanks.

Submitted by support on Thu, 2006-01-12 14:00

Hi Kim,

Normally, I would have expected this to be down to the character encoding that is being sent by your web server along with the page on which you are trying to display the data that you have parsed.

However, as you say it worked fine when reading a CSV file; is there any other difference between the script you used for each case; or did you use exactly the same script?

Submitted by kim_oerum on Thu, 2006-01-12 14:15

Hi,
It's precisely the same script...

Submitted by support on Thu, 2006-01-12 14:17

Is it possible for you to email me the URL of your script running online so that I can look at the encoding headers. What would be ideal is if you could post two URLs, one using your XML source feed and the other using CSV. You can reply to your registration email if you want to contact me in private.

Thanks,
David.