>I am interfacing with a soap based webservice which returns XML documents in the standard OTA (Open Travel Association) format.
>
>I have come across an issue where names and sometime notes include no standard characters, IE above 127 in the ASCII table.
>
>For example a German name that has an umlaut or a french word with a accute etc. these characters prevent XML readers from opening the XML file as they report "invalid character at positions n of line y".
>
>I know I can manually go through the XML string character by character and convert anything with a high ASCII, but that leads to questions on what to convert to and may make names distinct from what was intended.
>
>Does anyone know a function or process I can use to "tidy up" before reading? or is tehre a standardisation like in HTML where I can convert to +ASCII number to XML Parser can read and convert?
>
>
>Gary.
_______________________
Gary,
How does the xml look like ? is, what is its encoding ? (see first line of the xml)
looks like
<?xml version="1.0" encoding="UTF-8"?>
In the above case, it is UTF-8
An xml reader has to take care of the encoding
Where do you have problems ?
Gregory