# Icecast CHARSET

**URL:** <https://discourse.libretime.org/t/icecast-charset/1451>\
**Category:** Get Help\
**Created:** [April 5, 2023, 7:01pm UTC](https://discourse.libretime.org/t/icecast-charset/1451 "2023-04-05T19:01:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbrichard](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jbrichard](https://discourse.libretime.org/u/jbrichard)\
**Post date:** [April 5, 2023, 7:01pm UTC](https://discourse.libretime.org/t/icecast-charset/1451/1 "2023-04-05T19:01:58Z")

</div>

I have a problem with the metadata of the podcasts I am streaming with my Libretime installation. The accented letters shown in the player on Libretime homepage are correctly displayed, but in the icecast stream, these letters are replaced by ? How can I change the CHARSET used by icecast to display these metadata ? I would like to specify UTF-8 instead of ISO-8859. This was OK with a 3.0 alpha Libretime. With Libretime 3.0.2 things have changed. I have unsuccessfully tried to insert in the file /etc/libretime/config.yml, but this generates an error. I have had a look at /etc/icecast2/icecast.xml, but all the parameters related to the output streams are commented and seem to come from /etc/libretime/config.yml. Thank you for your help.

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [April 6, 2023, 11:53am UTC](https://discourse.libretime.org/t/icecast-charset/1451/2 "2023-04-06T11:53:29Z")

</div>

Hi,

> [@jbrichard](#):
>
> This was OK with a 3.0 alpha Libretime.

How did you handled this using the earlier version of Libretime ? Or has this become a problem because of the new version of Liquidsoap you are using (new distribution?) ?

> [@jbrichard](#):
>
> I have had a look at /etc/icecast2/icecast.xml, but all the parameters related to the output streams are commented and seem to come from /etc/libretime/config.yml.

The mount are configured on the fly by liquidsoap, so if something need to be configured, it will have to go trough liquidsoap. I don’t know if you can pre-define a mount and let liquidsoap attach itself to it (I would assume it is possible).

I’ll have a quick look.

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [April 6, 2023, 11:59am UTC](https://discourse.libretime.org/t/icecast-charset/1451/3 "2023-04-06T11:59:16Z")

</div>

According to liquidsoap, the charset is automatically UTF-8 [Liquidsoap](https://www.liquidsoap.info/doc-1.4.4/reference.html#output.icecast)

But I’ve seen a lot of the following icecast logs on my setup (every time liquidsoap updates the title):

```auto
[2023-04-06 11:59:55] INFO admin/admin_handle_request Received admin command metadata on mount "/main.mp3"
[2023-04-06 11:59:55] INFO util/util_conv_string converting metadata from UTF-8 to ISO8859-1
[2023-04-06 11:59:55] INFO admin/command_metadata Metadata on mountpoint /main.mp3 changed to "Aïoli - Hors ligne"

```

So I’m unsure what the best practice should be. Maybe forcing the charset to UTF-8 is a good idea.

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [April 6, 2023, 12:10pm UTC](https://discourse.libretime.org/t/icecast-charset/1451/4 "2023-04-06T12:10:08Z")

</div>

Could you try to set this in your icecast configuration ?

```xml
    <mount type="default">
       <charset>UTF-8</charset>
    </mount>

```

With that I’ve managed to display some utf-8 char easily  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/libretime/original/1X/a030e3b9e740fc3d0652d127106b654dfd865cb8.png)

---

<div class="post-metadata">

**Author:** ![jbrichard](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@jbrichard](https://discourse.libretime.org/u/jbrichard)\
**Post date:** [April 6, 2023, 9:17pm UTC](https://discourse.libretime.org/t/icecast-charset/1451/5 "2023-04-06T21:17:29Z")

</div>

Brilliant, I have inserted what you suggested in /etc/icecast2/icecast.xml, and it’s OK now.

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![joola](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joola](https://discourse.libretime.org/u/joola)\
**Post date:** [April 6, 2023, 10:31pm UTC](https://discourse.libretime.org/t/icecast-charset/1451/6 "2023-04-06T22:31:44Z")

</div>

For future reference [Stream configuration | LibreTime](https://libretime.org/docs/admin-manual/stream-configuration/#utf-8-metadata-in-icecast-mp3-streams)
