Files
Tomas Dvorak 6e8fedf534 first commit
2026-04-13 17:46:58 +02:00

6 lines
169 B
Python

def handle_unicode(string: str):
"""
Handles Unicode errors by ignoring unicode characters
"""
return string.encode("utf-16", "ignore").decode("utf-16")