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

XML::Parser / entities

Status
Not open for further replies.

afx

Programmer
Mar 4, 2004
27
CA
I have the following input to XML::parser
<?xml version="1.0" encoding="UTF-8"?>
<tag>
<text>K&#248;benhavns</text> <!-- K o-slash benhavns -->
</tag>

What I get out is:
K^c3^83^c2^b8benhavns

Where ^?? is a hex byte

Anyone have any ideas?


regards
Mark H., AFX
 
I get this

Københavns

Is that what you want?
There has to be something with your browser.
 
Thanks for the reply 'Pengo.

Actually, what I meant was that when I send the XML data through XML::parser when it outputs the text I get all the hex codes and not the character entities any more.

regards
Mark H., AFX
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top