Quantcast
Channel: Active questions tagged utf-8 - Stack Overflow
Viewing all articles
Browse latest Browse all 1197

u'\ufeff' in Python string

$
0
0

I got an error with the following exception message:

UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' inposition 155: ordinal not in range(128)

Not sure what u'\ufeff' is, it shows up when I'm web scraping. How can I remedy the situation? The .replace() string method doesn't work on it.


Viewing all articles
Browse latest Browse all 1197

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>