On 14/05/2020 11:43, Andreas Tille wrote:
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 11: 
> invalid continuation byte

The error is like [1] where the file is not encoded utf-8.

1:
https://stackoverflow.com/questions/5552555/unicodedecodeerror-invalid-continuation-byte


> +            f = open(trfile, encoding='utf-8')

`f = open(trfile, encoding='latin-1')`

could be a (temporary?) solution.


Regards,
Stéphane

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to