#367: shoutcast seems not to be able to handle utf8
--------------------------------------+-------------------------------------
Reporter: nuess0r | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone:
Component: Liquidsoap | Version: 0.9.2+svn
Keywords: shoutcast utf8 meta data | Mac: 0
Linux: 1 | Netbsd: 0
Other: 0 | Freebsd: 0
--------------------------------------+-------------------------------------
Comment(by mrpingouin):
I would not necessarily consider this as a bug. But it would be nice to
have a good and documented solution, since several users will run into
this issue.
If compiled with Camomile, liquidsoap converts metadata's encoding to UTF8
after reading metadata off a file (otherwise it performs no conversion at
all). I think it's a good idea to ensure a unique encoding inside
liquidsoap, and UTF8 is a natural choice. The problem here is that you
want to convert metadata specifically for one output. My advice would be
to use {{{map_metadata}}} before the shoutcast output, with a function
that cleans up your strings, removing unwanted characters or turning them
into ascii equivalents.
I do not have time for a fully detailed example right now, and moreover I
don't know a good tool or simple algorithm for ascii-fication.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/367#comment:1>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac