I have a XML in UTF-8:
This is the problem line:
When I read the attributes, with “childMain->getAttributeName(i)” and “childMain->getAttributeValue(i)”, the name is correct:
text, but the attribute is Añadir capa" with the " at the end.
Of course, the XML begins with: