From b48a35d6269c2cb50724045ae0a830e846ab0e68 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 27 Apr 2021 20:10:51 +0100 Subject: [PATCH] Use UTF-8 rather than latin encoding for program names. Fixes #874. --- plugins/channelrx/demoddab/dabdemodsink.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demoddab/dabdemodsink.cpp b/plugins/channelrx/demoddab/dabdemodsink.cpp index 79699c1d6..dbc975d84 100644 --- a/plugins/channelrx/demoddab/dabdemodsink.cpp +++ b/plugins/channelrx/demoddab/dabdemodsink.cpp @@ -599,7 +599,7 @@ void DABDemodSink::applySettings(const DABDemodSettings& settings, bool force) { if (!settings.m_program.isEmpty()) { - QByteArray ba = settings.m_program.toLatin1(); + QByteArray ba = settings.m_program.toUtf8(); const char *program = ba.data(); if (!is_audioService (m_dab, program)) qWarning() << settings.m_program << " is not an audio service";