mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-07-29 15:13:46 +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") |