QDom: set the codec to UTF-8 if codec not present or unknown
commit40909863e9eb17e0d0469ade608426dbbd08b43e
authorPeter Hartmann <peter.hartmann@nokia.com>
Tue, 29 Sep 2009 09:29:01 +0000 (29 11:29 +0200)
committerPeter Hartmann <peter.hartmann@nokia.com>
Wed, 30 Sep 2009 15:11:44 +0000 (30 17:11 +0200)
treeb90e8b120c774c296e9f5f01d5738666f37f4e5a
parent6fb1e687310f3f70c2f0bd3f25e91b65e65cafd2
QDom: set the codec to UTF-8 if codec not present or unknown

we were trying to get a codec even for unknown names. Now, we always
set the codec to UTF8 if the field is not present or we do not know the
codec.

Reviewed-by: Paul
src/xml/dom/qdom.cpp