--- xl/media/mp3.py.orig 2007-11-24 17:07:35.000000000 +0800 +++ xl/media/mp3.py 2007-11-24 17:11:40.000000000 +0800 @@ -19,6 +19,8 @@ def get_tag(id3, t): """ if not id3.has_key(t): return "" text = unicode(id3[t]) + try: text = id3[t].text[0].encode('iso-8859-1').decode('gb18030') + except: pass text = text.replace('\n', ' ').replace('\r', ' ') return text