[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kresources/kolab/shared
From: Till Adam <adam () kde ! org>
Date: 2005-06-02 11:40:54
Message-ID: 1117712454.248682.21913.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 421161 by tilladam:
This should be fixed properly now by setting the charset parameter of the
body part content type headers.
M +1 -5 kolabbase.cpp
--- trunk/KDE/kdepim/kresources/kolab/shared/kolabbase.cpp #421160:421161
@@ -328,14 +328,10 @@
bool KolabBase::load( const QString& xml )
{
- // This QString is actually in utf-8, but that fails loading in the
- // XML engine, since it won't detect encoding in a QString. So we do this:
- const QString utf8 = QString::fromUtf8( xml.local8Bit() );
-
QString errorMsg;
int errorLine, errorColumn;
QDomDocument document;
- bool ok = document.setContent( utf8, &errorMsg, &errorLine, &errorColumn );
+ bool ok = document.setContent( xml, &errorMsg, &errorLine, &errorColumn );
if ( !ok ) {
qWarning( "Error loading document: %s, line %d, column %d",
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic