0

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.

KovMus
  • 31
  • 8
  • 1
    I Danila, I wonder why people have been downvoting your question without even daring to comment why. I too am running into problems (although different ones) with Cyrillic handling in liquidsoap. All I can say about your problem is that your metadata is the string "Ария - Штиль" encoded into HTML entities, where each number correspond to the unicode number of the corresponding character. Likely because liquidsoap converts the metadata to ISO-8859-1 (which doesn't represent cyrillic characters) before sending it to icecast. Some players will actually interpret it correctly. Hope it helps. – Bigue Nique Jul 01 '15 at 19:47

2 Answers2

2

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.

Bigue Nique
  • 381
  • 2
  • 5
0

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.