Closed isoldmysoull closed 4 years ago
i got this error while downloading a song: UnicodeEncodeError: 'charmap' codec can't encode character '\u2005' in position 29: character maps to
i fixed by add encoding to save lyrics in save lyrics function: with open(save_path, "w") as f --> with open(save_path, "w", encoding="utf-8") as f
Thanks, you can submit a pull request if you like.
i got this error while downloading a song: UnicodeEncodeError: 'charmap' codec can't encode character '\u2005' in position 29: character maps to
i fixed by add encoding to save lyrics in save lyrics function: with open(save_path, "w") as f --> with open(save_path, "w", encoding="utf-8") as f