mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
54714a224b
+ add methods on settings.Keys to verify key !== empty string
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") |