xC9 instead of É in xml file generated by Matlab

4 Ansichten (letzte 30 Tage)
Lucas S
Lucas S am 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 !

Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by