diff --git a/handlers/DapGetListWalletsCommand.cpp b/handlers/DapGetListWalletsCommand.cpp index 9da645d18b82d290d9892c405c364395a8d33026..a2f514ecbd91ad60720937c6b0aac0817f266b12 100644 --- a/handlers/DapGetListWalletsCommand.cpp +++ b/handlers/DapGetListWalletsCommand.cpp @@ -36,7 +36,7 @@ QVariant DapGetListWalletsCommand::respondToClient(const QVariant &arg1, const Q QProcess process; process.start(QString("%1 wallet list").arg(m_sCliPath)); process.waitForFinished(-1); - QString resources = QString::fromLatin1(process.readAll()); + QString resources = QString::fromLocal8Bit(process.readAll()); QRegularExpression rx("wallet:\\s(.+)\\s", QRegularExpression::MultilineOption); QRegularExpressionMatchIterator itr = rx.globalMatch(resources); while (itr.hasNext())