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!

XML crashes on ë ü é etc. in text

Status
Not open for further replies.

TanTrazz

Programmer
Aug 18, 2001
54
NL
Hi all,

I've made a script in PHP that will get information from a database and puts
it in xml.

This is working fine, but only when it has an é ü etc. in the text it
crashes with the message:

Illegal character found in text.....

Whats can i do about it.....

TnQ TanTrazz
 
<?xml version="1.0" encoding there ?>

Ion Filipski
1c.bmp
 
nope...

How do i do it?

I've tried a lot of things but it wont work... can u give me an example of the encoding?

TnQ TanTrazz
 
Try using this encoding:

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

Jon

"I don't regret this, but I both rue and lament it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top