From c43e9953a5010c1d6cd4b4b08cac315486463b9e Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Mon, 3 Apr 2023 17:20:53 +0200 Subject: [PATCH] Do not convert to Latin1 and use UTF-8 instead --- src/virtmic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtmic.cpp b/src/virtmic.cpp index 2c0ba4f..ba29b09 100644 --- a/src/virtmic.cpp +++ b/src/virtmic.cpp @@ -99,7 +99,7 @@ void start(QString _target) { } }; - std::string target = _target.toLatin1().toStdString(); + std::string target = _target.toUtf8().toStdString(); auto virtual_mic = core.create("adapter", {{"node.name", "discord-screenaudio-virtmic"},