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