Unicode decode error in aiohttp/client_reqrep.py

I am running HA v0.97.1 on a Raspberry Pi (Hassbian). Everything is working very well so far … many automations, customizations and zwave devices all set up. I decided to take a look at the home_assistant.log file and discovered the following whenever I re/start HA. Did I mess up the UTF support during my install? I would like to fix this, so if anyone has any ideas, please let me know!

2019-08-12 21:06:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ssdp/init.py”, line 38, in initialize
await scanner.async_scan(None)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ssdp/init.py”, line 61, in async_scan
await self._process_entries(entries)
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ssdp/init.py”, line 85, in _process_entries
result for result in await asyncio.gather(*tasks) if result is not None
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ssdp/init.py”, line 124, in _process_entry
info = await info_req
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ssdp/init.py”, line 124, in _process_entry
info = await info_req
File “/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/ssdp/init.py”, line 139, in _fetch_description
xml = await resp.text()
File “/srv/homeassistant/lib/python3.7/site-packages/aiohttp/client_reqrep.py”, line 1010, in text
return self._body.decode(encoding, errors=errors) # type: ignore
UnicodeDecodeError: ‘utf-8’ codec can’t decode bytes in position 228-229: invalid continuation byte

I never got a reply, but I still tried to investigate this. According to the following page:
https://stackoverflow.com/questions/19699367/unicodedecodeerror-utf-8-codec-cant-decode-byte
using ‘ISO-8859-1’ decoding works much more reliably.

If I add the last line below:

 if encoding is None:
     encoding = self.get_encoding()
 
 encoding = 'ISO-8859-1'

in
/srv/homeassistant/lib/python3.7/site-packages/aiohttp/client_reqrep.py
(in the async def text method) just before calling self.body.decode, everything now works.

I believe the un-decodable data was coming from a Samsung TV after hass discovered it.