We you are using python to crawl a web page, you may get this error: UnicodeEncodeError: ‘latin-1’ codec can’t encode character ‘\u2026’. In this tutorial, we will introduce you how to fix it.
How to fix this unicode encode error?
As to us, you can check your http request header.
We can find there is a string … in our http request header.
We remove it and find this error is fixed.