iptv-m3u-maker icon indicating copy to clipboard operation
iptv-m3u-maker copied to clipboard

UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 8

Open saintyinyin opened this issue 4 years ago • 1 comments

Recommend adding encoding="utf-8" at line 19 in file dotpy.py when open file, it will fix this problem.

Thanks a lot, -zg

saintyinyin avatar Oct 06 '20 03:10 saintyinyin

with open(sourcePath, 'r', encoding="utf-8") as f:

VVVVictorJ avatar Aug 21 '21 15:08 VVVVictorJ