Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display foreign characters

Status
Not open for further replies.

johnv20

Programmer
Sep 26, 2001
292
US
Hi,
I am taking test & ship information from text files & converting these into xml. While this works fine in most cases I keep getting errors when trying to display ship to address's if the address contains a foregin character.

I have tried using CData to fix this but to no avail, does anybody know how these can be displayed
 
Im sure CData should work?

<?xml version=&quot;1.0&quot;?>
<ships>
<ship>
<toAddress><![CDATA[c/-TheCompany, #54 LongRd, Townname]]></toAddress>
</ship>
<ships>

That was how i solved the same problem

Tracey
Remember... True happiness is not getting what you want...

Its wanting what you have got!
 
Tracey,
could you please try the address

the company, ESPA¥A, S.A

& see if this works, maybe its just the way my browser is configured
 
You've got a browser problem, not an XML problem. IE attempts to discover the encoding of a document by doing a statistical analysis on the contents of a page. Sometimes it gets it wrong.

Use a tool like XML Spy ( or Unipad ( which know about Unicode characters to view your XML file, not Internet Explorer.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top