We could try to fix it by filtering out control chars as done here: https://stackoverflow.com/questions/8733233/filtering-out-certain-bytes-in-python Note that there is a regex solution that is listed as the second answer that is much faster than the accepted answer...
We could try to fix it by filtering out control chars as done here: https:/ /stackoverflow. com/questions/ 8733233/ filtering- out-certain- bytes-in- python
Note that there is a regex solution that is listed as the second answer that is much faster than the accepted answer...