UTF8 encoding error while using simplexml_load_string method
Posted: Fri Jul 21, 2006 5:12 am
Hi,
I have some spanish characters in my xml structure which is utf-8 encoded. When i parse that structure using simplexml_load_string method the following error comes:
I have also set in mySQL DB tables and column Collation to general_utf8_ci, but the problem is not solved. The xml is being generated through data in mysql db.
Pls help.
I have some spanish characters in my xml structure which is utf-8 encoded. When i parse that structure using simplexml_load_string method the following error comes:
Code: Select all
Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 2: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x61 0x20 0x64Pls help.