python unicode error ignore code example Example: python ignore unicodedecodeerror str.decode('utf-8',errors='ignore')