ruffnex
2003-May-02 14:21 UTC
[icecast] Metadata - StreamTitle - International language support?
Hello, Can anybody tell me how stream titles, which are non-ASCII, are sent? For example, at ShoutCast.com, there are Asian and European streams that send encoded strings. However, I can't see how to detect what type of encoding they are using. e.g. UTF8, ISOLatin1, etc. If I could work out the encoding, then I can display the names properly. Any differences between how IceCast and Shoutcast handle this? Any docs? Thanks, Simon --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request at xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith
2003-May-02 15:20 UTC
[icecast] Metadata - StreamTitle - International language support?
On Saturday 03 May 2003 00:21, ruffnex wrote:> Hello, > > Can anybody tell me how stream titles, which are non-ASCII, are sent? > > For example, at ShoutCast.com, there are Asian and European streams > that send encoded strings. However, I can't see how to detect what > type of encoding they are using. e.g. UTF8, ISOLatin1, etc. If I > could work out the encoding, then I can display the names properly. > > Any differences between how IceCast and Shoutcast handle this? Any > docs?Icecast sends these through as-is, so it doesn't handle them directly - and so doesn't need to know what charset they're in. For ogg vorbis, they're UTF-8 (as the spec requires), but it's up to the source client to do so correctly. For mp3, I haven't seen anything amounting to a specification. I'm not sure how existing clients deal with this. I'd try assuming UTF-8, but I don't know how well that'll work. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request at xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.