Ex21.py UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 11-12: invalid contiuation

Hi, Am running Python3 course bought from the website, am getting following error when i run ex21.py, please advise what am missing here.

PS C:\learnPython3\lpythw> python .\ex23.py utf-8 strict
Traceback (most recent call last):
File “.\ex23.py”, line 23, in
main(languages, input_encoding, error)
File “.\ex23.py”, line 6, in main
line = language_file.readline()
File “C:\Python37\lib\codecs.py”, line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: ‘utf-8’ codec can’t decode bytes in position 11-12: invalid continuation byte

Thanks in advance
Velu.V

Make sure you paste your code in here so we can see what is going on.
To paste it try using <code> your code goes here </code>