作者 fix_mp3gbk.diff [actionscript] 2007-11-24 17:10 (点击下载) (原始帖子: fix_mp3gbk.diff 在 2007-11-24 17:09 被修改)) (显示不同)

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

提交下面的校正或者修改. (点击这里开始一个新的帖子)
姓名: 在 cookie 中记住我的名字

屏幕抓图:(jpeg 或 png)