• Karl Heyes's avatar
    Fix bug #895. Most if not all non-Ogg streams send metadata as non-UTF8, typically · 5a7111fc
    Karl Heyes authored
    ISO-8859-1 is assumed as there is no real clarity wrt the spec. In most cases people
    send ASCII so it's not an issue, but for some, the extended characters they send
    can cause problems with XML processing.  As stats and YP require UTF8 we need to
    translate them and block invalid cases.
    
    For the moment, for non-Ogg streams only, we assume that the metadata needs converting
    from ISO-8859-1. Ogg streams are UTF8 so no conversion needed. You can override the
    default with a charset mount option.
    
    
    svn path=/icecast/trunk/icecast/; revision=13615
    5a7111fc
format.h 2.15 KB