2011/11/16 David Baelde <david.bae...@ens-lyon.org>: > 2011/11/16 Romain Beauxis <to...@rastageeks.org>: >> When you pass a charset=UTF8 parameter to icecast, it tries to convert >> the given string to its target encoding. Thus for mp3 mountpoints you >> get a conversion UTF8 -> latin1, which cannot be done with Cyrillic >> characters, hence the resulting HTML special codes for lack of better >> alternatives.. > > I believe that the first sentence should be dropped. Icecast receives > a string, and converts it (if needed) to its internal encoding. By > default it is latin1, which is problematic, thus the UTF8 setting. > > Apparently, this setting cannot be peformed by the client, the > protocol doesn't allow it. On the liquidsoap side, the charset option > only tells liquidsoap how to encode the data, but this information is > not sent directly to icecast. Am I right, Romain?
Tu put it simply, you have: A - source string encoding B - target encoding charset=UTF8 in metadata updates sent from sources to icecast is for A, charset parameter in icecast.xml is for B. A and B are latin1 by default for mp3 mountpoints (historical) and utf8 for ogg. When a string is received, icecast performs a conversion A -> B if needed. Good? Romain Romain ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users