mirror of
https://github.com/Dvorinka/SpotifyRecAlg.git
synced 2026-06-04 04:23:02 +00:00
6 lines
169 B
Python
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")
|