From 010e0e157b964c9868a79b0fdf8b87ae4ea32ada Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Fri, 14 Oct 2016 17:06:39 +0530 Subject: [PATCH] decode song names using utf-8 --- spotdl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotdl.py b/spotdl.py index 419ab8e..cfc702a 100644 --- a/spotdl.py +++ b/spotdl.py @@ -35,7 +35,7 @@ def Main(): os.remove('Music/' + m) print('') print('') - raw_song = raw_input('>> Enter a song/cmd: ').encode('utf-8') + raw_song = raw_input('>> Enter a song/cmd: ').decode('utf-8').encode('utf-8') print '' if raw_song == "exit": exit()