Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by CHW on Apr 30, 2008 15:10
open dhtmlx forum
xml - encoding

Hi,

I have in xml file:

<?xml version="1.0" encoding="iso-8859-1" ?>
<rows>
<row>
<cell style="background-color:#00FFFF; border-color:#000080;"><![CDATA[<FONT FACE="Arial" SIZE=1 COLOR=#010000 SIZE=1><B> São Paulo </B></FONT]]></cell>
<cell><![CDATA[<FONT FACE="Verdana" SIZE=1> R$ 9.507,92 </FONT]]></cell>
<cell><![CDATA[<FONT FACE="Verdana" SIZE=1> R$ 56.871,83 </FONT]]></cell>
<cell><![CDATA[<FONT FACE="Verdana" SIZE=1> R$ 29.364,84 </FONT]]></cell>
</row>
</rows>


He works in FF, but not in IE.

He mistake is in the accentuation. "São Paulo" in first cell. Already verified.

Some idea? Encoding is incorrect?

Thanks,

CHW
Answer posted by Support on May 02, 2008 05:38
Are you serving data from static XML file or dynamically from some kind of script?
In case of IE you need to be sure that file served with
    Content-type:text/xml
In other case IE will be able to load only UTF-8 encoded XML

If problem still occurs for you please attach problematic xml to the post, or send it directly to support@dhtmlx.com ( the code provided above was converted to UTF-8 by KB code, so it can't be used to reconstruct issue )