Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by JPlaroche on Aug 06, 2008 12:34
open dhtmlx forum
encoding xml char french

<?xml version="1.0" encoding="iso-8859-1" ?>
<rows>
<row id="1">
<cell >000</cell>
<cell >RUE DENIS PAPIN é çà</cell>
<cell >JOUE LES TOURS</cell>
<cell >37300</cell>
<cell ></cell>
<cell >FRA</cell>
<cell >B.P. 30</cell>
</row>
</rows>

script

mygrid.loadXML("00963920080806152450943104.xml");


message description XML incorrect

please help my
Answer posted by Support on Aug 07, 2008 01:30
The XML is correct and must load without any problems ( attachment )
In case of IE - please be sure that you are loading page by http ( if you are loading page as c://some.html - IE will recognize only unicode based xml )
Attachments (1)
Answer posted by jean.pierre.laroche@stralfors.fr on Aug 11, 2008 04:09

pour information

ceux qui utilisent CGIDEV2  sur AS400 et générer  des fichiers xml,  il faut absolument utiliser le code page 1252 

avec l'ordre  callp     WrtHtmlToStmf(%TRIM(V_XML) :1252)  V_XML étant le chemin et le nom du fichier.

et <?xml version="1.0" encoding="iso-8859-1" ?>  dans vos entetes

tout cela pour retrouver les caratères exacte  affichés .

___________________________________________________________________________________________________________

for information

those that use CGIDEV2 on AS400 and generate files xml, it is necessary absolutely to use the code page 1252

With the order callp WrtHtmlToStmf (%TRIM(V_XML): 1252) V_XML being the way and the file name. 

and <?xml version="1.0" encoding="iso-8859-1" ?>  in your entetes

All that to rediscover the exact posted caratères.