Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
kdelibs3
kdelibs-tarent-fix-webdav-utf8.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdelibs-tarent-fix-webdav-utf8.diff of Package kdelibs3
Description: fix UTF-8 encoding for WebDAV directories Bug: http://bugs.kde.org/show_bug.cgi?id=127251 Author: Thorsten “mirabilos” Glaser <t.glaser@tarent.de> Origin: KIO slave http.cpp from KDE 4 --- kdelibs-3.5.10/kioslave/http/http.cc~ 2008-02-13 10:41:06.000000000 +0100 +++ kdelibs-3.5.10/kioslave/http/http.cc 2011-12-27 13:27:17.000000000 +0100 @@ -45,6 +45,7 @@ #include <qregexp.h> #include <qdatetime.h> #include <qstringlist.h> +#include <qurl.h> #include <kurl.h> #include <kidna.h> @@ -750,9 +751,14 @@ void HTTPProtocol::davStatList( const KU entry.clear(); QString urlStr = href.text(); +#if 0 int encoding = remoteEncoding()->encodingMib(); if ((encoding == 106) && (!KStringHandler::isUtf8(KURL::decode_string(urlStr, 4).latin1()))) encoding = 4; // Use latin1 if the file is not actually utf-8 +#else + QUrl::decode(urlStr); + int encoding = 106; +#endif KURL thisURL ( urlStr, encoding );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor