[Icecast] Metadata in non UTF-8 encoding support (patch)

Andrew N. Below defan at zenon.net
Mon Oct 23 09:19:59 UTC 2006


Hi there.

http://defan.zenon.net/freebsd/patch-icecast2-encoding

This patch allows icecast to encode metadata from
specified charset to UTF-8 for stats output and
using different charset for log output.

Variables to add to config (for example):

<icecast>
  <metadataenc>CP1251</metadataenc>
  ...
  <logging>
     ...
     <logenc>KOI8-R</logenc>
     ...
  </logging>
</icecast>

libiconv is used to do conversion task.
It works for me on freebsd 6-stable and icecast 2.3.1.

--
Andrew N. Below
Zenon N.S.P.



More information about the Icecast mailing list