Hi!

Sorry for the delayed reply, this week has been completely crazy...

The program in question is not a program I wrote, it's a program I'm trying to modify.

I'll have to simplify it somewhat in order to post it here.

The XML file does have the encoding declaration you posted, that's what I meant by <<The correct character set (UTF-8) is declared in the XML file header.>>.

I was hoping that the problem could be some sort of encoding declaration (like the one that can be done with a QTextStream) but there doesn't seem to be any to specify it when using QDomDocument (setContent) and a QFile.

Thank you!

Nick