PHP Classes

Error

Recommend this page to a friend!

      SimpleXML for PHP4  >  All threads  >  Error  >  (Un) Subscribe thread alerts  
Subject:Error
Summary:XML parse error 4 'not well-formed
Messages:2
Author:paulo jorge mateus cruz
Date:2008-09-15 18:50:57
Update:2009-03-30 22:04:30
 

  1. Error   Reply   Report abuse  
Picture of paulo jorge mateus cruz paulo jorge mateus cruz - 2008-09-15 18:50:57
i'm getting this error.

XML parse error 4 'not well-formed (invalid token)' at line 2, column 78 (byte index 117)

the column 78 is "Á" , i think is not decoding that letter.

can anyone help me?

  2. Re: Error   Reply   Report abuse  
Picture of Tomáš Dvorský Tomáš Dvorský - 2009-03-30 22:04:30 - In reply to message 1 from paulo jorge mateus cruz
Hi, I see that the post is about 6 months old now, but someone could still appreciate the insight. Today I had the same problem which was also caused by special characters in the xml (Czech alphabet). Anyway I solved it just by loading the xml file using ISO-8859-1 encoding. UTF-8 was not working for me. Hope it helps.