From: Guillaume Pellerin Date: Thu, 16 Apr 2009 02:18:56 +0000 (+0000) Subject: utf again X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4b46665548e671880af2c0c7b08186ee6ce5683d;p=deefuzzer.git utf again --- diff --git a/deefuzz.py b/deefuzz.py index 3d1d485..4c2365f 100755 --- a/deefuzz.py +++ b/deefuzz.py @@ -258,7 +258,7 @@ class Station(Thread): if self.rss_enclosure == '1': rss_item_list.append(PyRSS2Gen.RSSItem( - title = song.encode('utf-8'), + title = song.decode(), link = media_link, description = media_description, enclosure = PyRSS2Gen.Enclosure(media_link, str(media.size), 'audio/mpeg'), @@ -267,7 +267,7 @@ class Station(Thread): ) else: rss_item_list.append(PyRSS2Gen.RSSItem( - title = song.encode('utf-8'), + title = song.decode(), link = media_link, description = media_description, guid = PyRSS2Gen.Guid(media_link),