u’\ufeff’ in Python string

The Unicode character U+FEFF is the byte order mark, or BOM, and is used to tell the difference between big- and little-endian UTF-16 encoding. If you decode the web page using the right codec, Python will remove it for you. Examples: Note that EF BB BF is a UTF-8-encoded BOM. It is not required for UTF-8, but serves only … Read more