Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Richard Hunter on Sep 07, 2009 07:42
open dhtmlx forum
Problem generating XML with Grid Connector - fine in Firefox, but not in IE

Hi, I'm using GridConnector to generate the XML for a grid. The XML displays fine in Firefox, but throws up an error in Internet Explorer.

The connector file which throws up the error is at http://v2.conquermaths.com/members/students/xml/sad.php?mem_id=123

I would appreciate it if someone could point me in the right direction to fix this!

Many thanks
Richard
Answer posted by Support on Sep 08, 2009 02:29
You are using non-utf data, for row@id = 18190 you have <cell><![CDATA[O’Sullivan]]></cell> the "’" character is not utf one ( maybe some later data has the similar problems ) 
Problem can be resolved by adding the next line to connectors code

 $grid->set_encoding("iso-8859-1");
Answer posted on Sep 08, 2009 04:13
Many thanks. That solved the problem.