12667 - neolys, change xml encoding exporter from ISO-8859-1 to UTF-8

This commit is contained in:
Srv Privilege de marque 2017-02-28 09:24:51 +01:00
parent 1d063277db
commit f9eb8a9ac0

View File

@ -607,7 +607,8 @@ public function getContentArticles()
$f = fopen($FICHIER_A_ENVOYER,"w");
//DEBUT DU FICHIER
$entetxml = '<?xml version="1.0" encoding="ISO-8859-1" ?>' ;
// antadis 12667 -encoding change
$entetxml = '<?xml version="1.0" encoding="UTF-8" ?>' ;
$entetxml .= "\n" ;
$entetxml .= '<references version="'.$this->version.'">' ;
$entetxml .= "\n" ;
@ -958,7 +959,8 @@ public function getContentCommandes()
$f = fopen($FICHIER_A_ENVOYER,"w");
//DEBUT DU FICHIER
$debutxml = '<?xml version="1.0" encoding="ISO-8859-1" ?>' ;
// Antadis 12667 - Change encoding
$debutxml = '<?xml version="1.0" encoding="UTF-8" ?>' ;
$debutxml .= "\n" ;
$debutxml .= '<orders version="'.$this->version.'">' ;
$debutxml .= "\n" ;