Open xanarry opened 7 years ago
@xanarry by using unicode_str = chars.decode('UTF-8', errors="ignore")
you will not be notified if any errors occurs. If you are fine with that, it does not matter. When said; you should not have to add the errors="ignore"
flag, but instead attempt to find out why reading the specific picture-/image file fails.
when i add a picture to doc file, I get this error
so, I edit helpers.py, and change
unicode_str = chars.decode('UTF-8')
tounicode_str = chars.decode('UTF-8', errors="ignore")
it works, does it any matter, if use the later code