[pim/kdepim-addons] plugins/webengineurlinterceptor/adblock: List use utf8 not latin1

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 56080d42c89a7cfc0de67c750937fa51807a60ff by Laurent Montel.
Committed on 15/08/2026 at 10:26.
Pushed by mlaurent into branch 'master'.

List use utf8 not latin1

M  +1    -1    plugins/webengineurlinterceptor/adblock/adblockmanager.cpp

https://invent.kde.org/pim/kdepim-addons/-/commit/56080d42c89a7cfc0de67c750937fa51807a60ff

diff --git a/plugins/webengineurlinterceptor/adblock/adblockmanager.cpp b/plugins/webengineurlinterceptor/adblock/adblockmanager.cpp
index 2ca2f2074..5318203e8 100644
--- a/plugins/webengineurlinterceptor/adblock/adblockmanager.cpp
+++ b/plugins/webengineurlinterceptor/adblock/adblockmanager.cpp
@@ -154,7 +154,7 @@ QString AdblockManager::adblockListText(const QString &url)
         qCWarning(LIBADBLOCKPLUGIN_PLUGIN_LOG) << "Impossible to open file " << file.fileName();
         return {};
     }
-    const QString list = QString::fromLatin1(file.readAll());
+    const QString list = QString::fromUtf8(file.readAll());
     return list;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.