1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-24 10:50:29 -05:00

Merge pull request #875 from srcejon/fix_874

Use UTF-8 rather than latin encoding for program names.
This commit is contained in:
Edouard Griffiths 2021-04-27 22:56:32 +02:00 committed by GitHub
commit 3b1013baec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";