Convert UTF-8 with BOM to UTF-8 with no BOM in Python,u = s.decode('utf-8-sig')