[Icecast] Character encodings in ICY metadata
Greg Ogonowski
greg at indexcom.com
Mon Dec 3 09:38:08 UTC 2018
UTF-8 handles ALL character sets. That’s the whole idea of Unicode.
We have encoder users all over the world using UTF-8.
Handles all Asian languages with no problem, including Burmese which is a more recent addition to the current Unicode version due to additional complications. Requires Operating Systems with the latest Unicode version.
Here is an HLS stream with metadata done right:
https://db2.indexcom.com/playertest/05_diag/
Note Extensible Metadata Fields have been set up with multiple languages, and they are all sent at once.
In order for this to work properly, the entire metadata path from start to finish is required to be UTF-8 Unicode. Any modern software is.
/greg.
StreamS HiFi Radio
From: Icecast [mailto:icecast-bounces at xiph.org] On Behalf Of Philipp Schafft
Sent: Monday, December 03, 2018 00:50
To: Icecast streaming server user discussions
Subject: Re: [Icecast] Character encodings in ICY metadata
Available Attachments
* signature.asc <file:///D:\Outlook\Mail\Attachments\Inbox\2018.12.03_00.50.41_signature.asc>
* Untitled attachment 00016.txt <file:///D:\Outlook\Mail\Attachments\Inbox\2018.12.03_00.50.41_Untitled%20attachment%2000016.txt>
Good morning,
On Sat, 2018-12-01 at 16:20 -0800, Greg Ogonowski wrote:
> UTF-8 is now the universal standard.
(ICY context:) Expect if you are in Asia. Or in central Europe. Or maybe
in Africa. I'm not aware of servers on the poles, maybe they use..., ...
> It supports ALL character sets.
As long as "ALL" is defined as what English people need plus all emoji
in all skin colours but green.
There are still a lot characters not included even if the set they
contain to is in the list.
While UTF-8 is most likely the way you want to go, it is by no means
universal.
The truth is that ICY is just a broken protocol that does not give you
any way to define what charset you use. So you need to guess anyway.
Some software guesses by detecting special characters in the strings,
some by using a randomly chosen fixed charset (yes, just using UTF-8 is
randomly chosen).
ICY streams are also changing charset between updates at will.
Generally speaking I would strongly recommend to migrate away from it.
With best regards,
--
Philipp Schafft (CEO/Geschäftsführer)
Telephon: +49.3535 490 17 92
Löwenfelsen UG (haftungsbeschränkt) Registration number:
Bickinger Straße 21 HRB 12308 CB
04916 Herzberg (Elster) VATIN/USt-ID:
Germany DE305133015
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20181203/70ae4cae/attachment.htm>
More information about the Icecast
mailing list