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:
commit
3b1013baec
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user