Liquidsoap tag encoding

972 Views Asked by At

Good afternoon.

I have a problem with Liquidsoap. It sends cyrillic metadata to Icecast like: Ария - Штиль Please help me how I can change this encoding?

Best Regards, Danila.

2

There are 2 best solutions below

0
On BEST ANSWER

Try adding encoding = "UTF-8" to the parameters of output.icecast() !

Liquidsoap API Reference for output.icecast() :

encoding (string – defaults to ""): Encoding used to send metadata. If empty, defaults to “UTF-8” for “http” protocol and “ISO-8859-1” for “icy” protocol.

0
On

I'm using Icecast2 to output liquidsoap and was also having garbled output ie. Шуфутинский, Теппер С. - Ко всем чертям when listening on android player but when I added encoding="ISO-8859-1", to the parameters of output.icecast() I got correctly displayed artist name - song name in Cyrillic ie. Добронравов Александр - Группа крови Hope it helps someone.