Hi.

My problem is this:

There is a XML-document that I would like to edit using the QDom-classes. This document contains Russian characters. To make sure that the QDom-class can read from this document correctly I saved the file with UTF-8 encoding since - according to Qt-Assistant - this is the endoding that the QDom classes assume if you do not make another statement.

QDomDocument::setContent() is successfull. Now there is an attribute in my XML-file and the value of this attribute contains the Russian characters. In my text editor the characters are displayed correctly but the method attribute("name of attribute") seems to return a row of "?"s instead of the actual value.

My first impression was that the debugger just can´t show the Russian characters and shows "?" instead. But if I assign the return value from attribute() to a QLabel then I see the "?"s, too.

What is wrong here?

Qt-Version: 3.3.7
Visual C++ 6.0

Thanks in advance!