UnicodeDecodeError of Dynalog analysis function

Hi, pylinac users:
when I use the command line to do some log analysis works, I happen to the problem:

logs = MachineLogs(log_dir)

It is just the default in my system(Win10 Home edition), and I want to know how to change the character encoding to the UTF-8, Thank you.
Sincerely,
Yuan

Carl,
This should be an easy fix by stating the codec in .decode(), but I’d need to investigate first to be sure.

Hi, James, thank you. I will wait for your confirmed method to fix the problem.
Sincerely,
Yuan