aboutsummaryrefslogtreecommitdiffstats
path: root/keyserverimportdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'keyserverimportdialog.cpp')
-rw-r--r--keyserverimportdialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyserverimportdialog.cpp b/keyserverimportdialog.cpp
index 286e731..14c35a5 100644
--- a/keyserverimportdialog.cpp
+++ b/keyserverimportdialog.cpp
@@ -180,7 +180,8 @@ void KeyServerImportDialog::searchFinished()
char buff[1024];
bool strikeout=false;
while (reply->readLine(buff,sizeof(buff)) !=-1) {
- QStringList line= QString(buff).split(":");
+ QString decoded = QString::fromUtf8(QByteArray::fromPercentEncoding(buff));
+ QStringList line = decoded.split(":");
//TODO: have a look at two following pub lines
if (line[0] == "pub") {