diff --git a/handlers/DapGetWalletsInfoCommand.cpp b/handlers/DapGetWalletsInfoCommand.cpp index 5a8b9d0a2f4d9a6aa5268e44ea0084395bce3a1a..2b548e7c021a4fb8d5e03617da350a96c839c592 100644 --- a/handlers/DapGetWalletsInfoCommand.cpp +++ b/handlers/DapGetWalletsInfoCommand.cpp @@ -47,7 +47,7 @@ QVariant DapGetWalletsInfoCommand::respondToClient(const QVariant &arg1, const Q QProcess process; process.start(QString("%1 wallet list").arg(m_sCliPath)); process.waitForFinished(-1); - QString res = QString::fromLatin1(process.readAll()); + QString res = QString::fromLocal8Bit(process.readAll()); QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption); QRegularExpressionMatchIterator itr = rx.globalMatch(res); while (itr.hasNext())