mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-06 03:05:35 +00:00
5 lines
168 B
Python
5 lines
168 B
Python
def handle_unicode(string: str):
|
|
"""
|
|
Handles Unicode errors by ignoring unicode characters
|
|
"""
|
|
return string.encode("utf-16", "ignore").decode("utf-16") |