xiph / Icecast-Server

Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
https://icecast.org
GNU General Public License v2.0
465 stars 127 forks source link

JSON status encoding modification #39

Closed yiann0s closed 1 year ago

yiann0s commented 3 years ago

Below you will find an excerpt from json status response of broadcast server (status-json.xsl). Original title of song is "オンライン博物館 INTERNET 1.0 Log on". Can I modify server files so that the encoding of the metadata is based in utf8 ? I have a problem with songs with greek/ japanese characters. name","server_type":"audio/mpeg","server_url":"https://www.mixxx.org","stream_start":"Sat, 07 Nov 2020 20:46:58 +0000","stream_start_iso8601":"2020-11-07T20:46:58+0000",**"title":"CYBEREALITY??? - ???????? INTERNET 1.0 Log**

phschafft commented 1 year ago

You are depending here on two legacy technologies:

As ICY does not support charset parameters there is hardly anything Icecast can do about this.

That said there have been a few updates here in abfd3c51a3260f6f3df2d0da10e47621674ab533. They might help or.. not. It also depends a lot on the source client to send what is expected (which might or might not be what is correct).

If there is really a bug, feel free to open a ticket in the official bug tracker at https://gitlab.xiph.org/xiph/icecast-server/-/issues.