kopia lustrzana https://github.com/f4exb/sdrangel
Merge pull request #875 from srcejon/fix_874
Use UTF-8 rather than latin encoding for program names.pull/880/head
commit
3b1013baec
|
@ -599,7 +599,7 @@ void DABDemodSink::applySettings(const DABDemodSettings& settings, bool force)
|
||||||
{
|
{
|
||||||
if (!settings.m_program.isEmpty())
|
if (!settings.m_program.isEmpty())
|
||||||
{
|
{
|
||||||
QByteArray ba = settings.m_program.toLatin1();
|
QByteArray ba = settings.m_program.toUtf8();
|
||||||
const char *program = ba.data();
|
const char *program = ba.data();
|
||||||
if (!is_audioService (m_dab, program))
|
if (!is_audioService (m_dab, program))
|
||||||
qWarning() << settings.m_program << " is not an audio service";
|
qWarning() << settings.m_program << " is not an audio service";
|
||||||
|
|
Ładowanie…
Reference in New Issue