You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我也是同样的问题,第一次执行会在with open(fc,'r',encoding='utf8') as f: for l in f.readlines():
报错UnicodeDecodeError,后面再执行脚本就不报错了,但是图片里的中文都是乱码。有的人说加“errors="ignore"”,似乎只是无视了报错信息,对在图片上生成中文没有作用。
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf7 in position 2: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: