Hello,
I am trying to get a french text from an xml here is the part of my code with the problem:
if (e.attribute("name","")==signName) return e.attribute(att,"");
The thing is that it doesnt return the french characters instead of them i have a "?". I create the xml from the code too, with QFile, i tried to change the extension from xml to txt no luck, opening the file in notepad or other programs shows the text correctly.Tried to fetch a french text from QFile with the read() method and it also works correcly, tried to put something like this e.attribute().toUTF8 and instead of "?" i get other strange simbols.Is this a problem with dom or the attribute method?
Thanks,
ZeroSum

Reply With Quote


