marcderbauer / songcrawler

Crawl Spotify and Genius for all the songs of your favourite artist!
MIT License
0 stars 0 forks source link

Special chars in Unicode #31

Closed marcderbauer closed 1 year ago

marcderbauer commented 1 year ago

The apostrophe character ' is saved with it's unicode \u2019, instead of being written directly. Figure out if it is queued like this or if the error comes from writing.

I suspect that it comes from the formatstring f"...", but will need to investigate

marcderbauer commented 1 year ago

The issue was at json.dumps(). You need to set ensure_ascii=False to encode as unicode