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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't put "£" into xml

Status
Not open for further replies.

MarcusH

Programmer
May 3, 2001
22
GB
Hi

How can I get xml to accept the "£" sign? The below does not work

<root>
<test>£12.99</test>
</root>

My schema is defines this as datatype string.

Your help would be much appreciated.
Thanks
Marcus

 
Hi

I've found the answer to my question.

I simply added
<?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?>

Marcus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top