Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Emilie Meunier on May 13, 2009 07:25
open dhtmlx forum
dhtmlxgrid - encode character

Hi,

I build my datagrid dynamically with a lot of accent character (about 100). I used the encoding UFT-8 but it does not work. It replace my accent character by a scare or someting strange. I don't want to replace each of the accent character by the xml encoding like Ô -> Ô because there is to much character. Do you know if I can use someting else or if I have to build my xml by using someting else than response.write?

Here is the code:
<?xml version="1.0" encoding="UTF-8"?><rows total_count='1' pos='0'>
<row id='9083'>
<cell>image\plan.gif</cell>
<cell>2009-0001-00-1</cell>
<cell>2009-02-04</cell>
<cell>Soumission</cell>
<cell>2009-02-18</cell>
<cell><![CDATA[Plan d’ensemble]]></cell>
<cell><![CDATA[]]></cell>
<cell>?
</cell><cell>Projet VP-2009-1</cell><cell>Fichier</cell><cell></cell><cell></cell><cell><![CDATA[2009_0001_00.dwg <br/>2009_0001_00.tif <br/>2009_0001_01.tif <br/>2009_0001_02.tif <br/>2009_0001_03.tif <br/>2009_0001_04.tif <br/>2009_0001_05.tif <br/>2009_0001_06.tif]]></cell>
</row>
</rows>

Best regards,

Emilie
Answer posted by dhxSupport on May 13, 2009 07:34
Please check if your data base, page and xml encoding are the same. 
Answer posted by Emilie on May 13, 2009 11:47
Thanks!