xC9 instead of É in xml file generated by Matlab

4 vues (au cours des 30 derniers jours)
Lucas S
Lucas S le 15 Nov 2021
Hello !
I'm generating an xml file with Matlab by filling it according to an excel file.
xmlfile = fopen(file.xml, 'w');
fprintf(xmlfile, xmlString);
Where xmlString is a string which contains the all xml content. The problem is all É and é of my string are replace by xC9 and xE9 in the final xml file.
Is there a way to avoid that ?
(I put the '<?xml version="1.0" encoding="UTF-8"?>' at the start of the file of course)
Thanks for helping !

Réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by