Exception: 'utf-8' codec can't encode character '\ude5e' in position 1162: surrogates not allowed
triage
In case a response contains an illegal byte sequence for a given target encoding, changedetection fails:
Exception: 'utf-8' codec can't encode character '\ude5e' in position 1162: surrogates not allowed
Instead of failing, we could do better and use a fallback strategy, e.g. using pythons errors='replace'
0 条评论