# \[BUG\] - DVR UTF-8 Not proper encoding

**URL:** <https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792>\
**Category:** Live TV & DVR\
**Tags:** livetv-dvr, server-linux, openmediavault\
**Created:** [February 5, 2022, 11:17am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792 "2022-02-05T11:17:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [February 5, 2022, 11:17am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/1 "2022-02-05T11:17:12Z")

</div>

Server Version#: Latest  
Player Version#: Latest  
Tuner Make/Model: Hauppauge DualHD  
Guide/Lineup name:  
Using XMLTV?: No, use the wizard  
Channel number/Name: TF1 Séries Films → 21

Hello,

I have received my Hauppauge DualHD tuner, it is well recognize by OMV (OpenMediaVault) and in Plex Server as well, but when i’m looking for channel I got this error inside /var/log/syslog

```auto
Feb 5 11:49:51 Plex Media Server[1470157]: Entity: line 2: parser error : Input is not proper UTF-8, indicate encoding !
Feb 5 11:49:52 Plex Media Server[1470157]: Bytes: 0xE9 0x72 0x69 0x65
Feb 5 11:49:52 Plex Media Server[1470157]: tainer size="39"><Channel channelIdentifier="triplet://8442:10:2561" name="TF1 S
Feb 5 11:49:52 Plex Media Server[1470157]: error : xmlTextWriterWriteDocCallback : XML error 9 !
Feb 5 11:49:52 Plex Media Server[1470157]: I/O error : write error
Feb 5 11:49:52 Plex Media Server[1470157]: error : xmlTextWriterCloseDocCallback : XML error 9 !

```

The error seems to be the channel name more precisly the accent on letter E : “TF1 Séries Films”

Do you have any idea to solve this problem?

Thanks

---

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [February 6, 2022, 5:25pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/2 "2022-02-06T17:25:21Z")

</div>

I test DVB-T on Plex on Windows and it works

So, clearly the linux version doesn’t encode well channel names

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [February 7, 2022, 3:14pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/3 "2022-02-07T15:14:20Z")

</div>

> [@stoufiler](#):
>
> ll, but when i’m looking for channel I got this error inside /var/log/syslog

Thanks for reporting the issue. I have got the log files that you sent in.  
I am trying to relate the above syslog errors to the Plex Media Server and Plex Tuner Service log files

At the time - 11:49:51 there was a channel scan which found 39 channels  
There are no errors in the server and tuner logs relating to this. At the time the Plex Media Server process asked the Plex Tuner Service for the list of channels - this was at 11:49:51

```auto
Feb 05, 2022 11:49:51.956 [0x7fa87a135b38] DEBUG - [Grabber] HTTP requesting GET http://127.0.0.1:32600/devices/compound_device072dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a14.0%2fusb1%2f1-5%2f1-5%3a1.0%3a0014319079/channels

Feb 05, 2022 11:49:51.959 [0x7fa87af60b38] DEBUG - [HttpClient] HTTP/1.1 (0.0s) 200 response from GET http://127.0.0.1:32600/devices/compound_device072dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a14.0%2fusb1%2f1-5%2f1-5%3a1.0%3a0014319079/channels (reused)

```

Could you run these 3 curl commands on the server and get me the 3 response files that the Plex Tuner Service returns. Please zip and attach the 3 files

```auto
curl -o req1.xml http://127.0.0.1:32600/devices/compound_device072dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a14.0%2fusb1%2f1-5%2f1-5%3a1.0%3a0014319079

curl -o req2.xml http://127.0.0.1:32600/devices/compound_device072dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a14.0%2fusb1%2f1-5%2f1-5%3a1.0%3a0014319079/scanners

curl -o req3.xml http://127.0.0.1:32600/devices/compound_device072dvb%23v4l%23%2fsys%2fdevices%2fpci0000%3a00%2f0000%3a00%3a14.0%2fusb1%2f1-5%2f1-5%3a1.0%3a0014319079/channels

```

These were the requests sent by the server process to the PTS process at the time

I see from the logs that you are using xmltv provider for EPG - is this what you normally use ? or do you also use a lineup for the post code when setting up the DVR?

Is this what you use ? `https://xmltvfr.fr/xmltv/xmltv_tnt.xml`

Can you tell me at what point in time during setup do you get this error screen ? Is it after the channel scan completing ?

 ![image (11)](https://global.discourse-cdn.com/plex/original/4X/d/c/b/dcbdbb23059ee6f8b463a7a74b60c5278382c078.png)

Do you have a timestamp for when this got displayed so I can relate it to what is in the logs ?

Would it be possible for you to also enable verbose browser console network logging and send me zipped .har file captured at the time of the error screen after a scan as well as the server and tuner service logs as before

 ![image](https://global.discourse-cdn.com/plex/original/4X/5/0/4/504e650c2be2c76c9d809a24e4980f8aa5ad1ede.jpeg)

---

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [February 7, 2022, 5:01pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/4 "2022-02-07T17:01:45Z")

</div>

Hello,

Thank you for your reply !

Here are the answers to your questions :

I used the xmltv provider from [xmltv.fr](http://xmltv.fr) just for testing but I plan to use my location with the postal code

I get “No Channels Found” error right after scanning channels

The error was displayed: 07/02/2022 - 17:48

In the “Plex Tuner Service” log file lines 727, 3549, 8776, 14291 could be interesting.  
I deduce that it is receiving string names with a special character

You will find in the PJ file everything you asked me  
the req.xml files, the HAR file and the two log files

thank you for your time

Edited by sa2000 to remove attachment ; please always send har files by private message

---

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [February 8, 2022, 11:20am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/5 "2022-02-08T11:20:11Z")

</div>

Hello,

I come to the news.

I read the topic at this address [Plex finds 978 channels during scan, but lists only 19-20](https://forums.plex.tv/t/plex-finds-978-channels-during-scan-but-lists-only-19-20/719271)

The person was talking about using a specific version namely **1.22.3.4523-d0ce30438**. So I downloaded it by running the command:

```auto
wget https://downloads.plex.tv/plex-media-server-new/1.22.3.4523-d0ce30438/debian/plexmediaserver_1.22.3.4523-d0ce30438_amd64.deb

```

and I installed it by doing:

```auto
dpkg -i plexmediaserver_1.22.3.4523-d0ce30438_amd64.deb

```

Once the installation was complete, I immediately launched a channel scan and bingo everything worked

 ![image](https://global.discourse-cdn.com/plex/original/4X/2/2/2/2226148f90c74a57df096716ec38302ecd2a57a8.png)

 ![image](https://global.discourse-cdn.com/plex/original/4X/0/c/1/0c1633459a919d52c3942d8248dd6ac2dbfbdbb3.png)  
We can see channels 20/24/25 contains accented characters

 ![image](https://global.discourse-cdn.com/plex/original/4X/6/8/9/6890e655bf44cfce5f09ed920d55cbbe8304d13e.jpeg)

The solution would be within this version I think

PS : I don’t use this time [xmltv.fr](http://xmltv.fr) i’ve juste set my postal code

thanks in advance

Stoufiler

---

<div class="post-metadata">

**Author:** ![chrisBlum](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chrisblum/32/257498_2.png) [@chrisBlum](https://forums.plex.tv/u/chrisBlum)\
**Post date:** [February 8, 2022, 12:42pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/6 "2022-02-08T12:42:37Z")

</div>

FYI - the Red Hat / Fedora / CentOS link to that version is  
[https://downloads.plex.tv/plex-media-server-new/1.22.3.4523-d0ce30438/redhat/plexmediaserver-1.22.3.4523-d0ce30438.x86\_64.rpm](https://downloads.plex.tv/plex-media-server-new/1.22.3.4523-d0ce30438/redhat/plexmediaserver-1.22.3.4523-d0ce30438.x86_64.rpm)

---

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [February 8, 2022, 12:55pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/7 "2022-02-08T12:55:54Z")

</div>

Think that the problem appear at this version : [Plex Media Server - #430 by emilybersin](https://forums.plex.tv/t/plex-media-server/30447/430)

---

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [February 9, 2022, 3:01pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/8 "2022-02-09T15:01:29Z")

</div>

Got some news

You can search channels with version 1.22.3.4523 and you can upgrade to latest version where bug still occurs.

It will works but if you want to scan another channels you need to rollback to 1.22.3.4523 and repeat to latest

I’m talking with someone at Plex, hope the bug will be patched in next release @chrisBlum

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [March 9, 2022, 9:36am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/9 "2022-03-09T09:36:31Z")

</div>

sent you alpha build to Plex Media Server 1.25.8 which updates dependencies used by Plex Tuner Server to see if it resolves the issue

Thanks for your help

---

<div class="post-metadata">

**Author:** ![stoufiler](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@stoufiler](https://forums.plex.tv/u/stoufiler)\
**Post date:** [March 16, 2022, 5:44pm UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/10 "2022-03-16T17:44:47Z")

</div>

Just reply to you right now

It doesn’t work

I need to reinstall the 1.22 version to DVR work

Thanks

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [March 18, 2022, 9:35am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/11 "2022-03-18T09:35:16Z")

</div>

Thanks for trying - I passed the details to the development team

---

<div class="post-metadata">

**Author:** ![sa2000](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sa2000/32/6922_2.png) [@sa2000](https://forums.plex.tv/u/sa2000)\
**Post date:** [April 27, 2022, 9:22am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/12 "2022-04-27T09:22:32Z")

</div>

The fix has been released in Plex Media Server beta release 1.26.1.5762

> [@Plex Media Server](https://forums.plex.tv/t/plex-media-server/30447/500):
>
> Plex Media Server 1.26.1.5762 is now available to Plex Pass users in the Beta update channel. FIXES: (DVR) Plex Tuner Service does not return non-unicode encoded channels (#13374) (DVR) Plex Tuner Service only returns a small number of channels (#13261) (HttpClient) Plex Media Server could exit unexpectedly after HTTP requests completed with certain timing conditions (#13489) (Metadata) Manually setting the Originally Available date on an item would result in an incorrect value being stored …

- (DVR) Plex Tuner Service does not return non-unicode encoded channels (#13374)
- (DVR) Plex Tuner Service only returns a small number of channels (#13261)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 26, 2022, 9:23am UTC](https://forums.plex.tv/t/bug-dvr-utf-8-not-proper-encoding/774792/13 "2022-07-26T09:23:02Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
