<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 解决 Exaile 音乐播放器中文乱码</title>
	<atom:link href="http://linuxtoy.org/archives/exaile-chinese.html/feed" rel="self" type="application/rss+xml" />
	<link>http://linuxtoy.org/archives/exaile-chinese.html</link>
	<description>LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神，可以点击顶部导航 Contact 按钮进行投稿。</description>
	<lastBuildDate>Wed, 23 May 2012 17:14:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: 雪梨</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-129011</link>
		<dc:creator>雪梨</dc:creator>
		<pubDate>Sun, 22 Nov 2009 12:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-129011</guid>
		<description>&lt;p&gt;咦，怎么看到 @LinuxToy 在推特上又推这条旧的呢？&lt;/p&gt;

&lt;p&gt;现在请使用 Exaile-CN&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>咦，怎么看到 @LinuxToy 在推特上又推这条旧的呢？</p>

<p>现在请使用 Exaile-CN</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 华华</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-100636</link>
		<dc:creator>华华</dc:creator>
		<pubDate>Fri, 09 Jan 2009 04:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-100636</guid>
		<description>&lt;p&gt;https://bugs.launchpad.net/bugs/223547 
补丁已经合并到 r1754，请各位测试。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><a href="https://bugs.launchpad.net/bugs/223547" rel="nofollow">https://bugs.launchpad.net/bugs/223547</a> 
补丁已经合并到 r1754，请各位测试。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: yjwork</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-100437</link>
		<dc:creator>yjwork</dc:creator>
		<pubDate>Wed, 07 Jan 2009 03:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-100437</guid>
		<description>&lt;p&gt;http://sites.google.com/site/lennyamd64deb/Home/exaile-0-2-11-1-id3fix-3&lt;/p&gt;

&lt;p&gt;为lenny amd64重新打了个包，修改了下版本号
用lneny amd64 的可以测试下&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><a href="http://sites.google.com/site/lennyamd64deb/Home/exaile-0-2-11-1-id3fix-3" rel="nofollow">http://sites.google.com/site/lennyamd64deb/Home/exaile-0-2-11-1-id3fix-3</a></p>

<p>为lenny amd64重新打了个包，修改了下版本号
用lneny amd64 的可以测试下</p>]]></content:encoded>
	</item>
	<item>
		<title>By: yjwork</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-100396</link>
		<dc:creator>yjwork</dc:creator>
		<pubDate>Tue, 06 Jan 2009 14:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-100396</guid>
		<description>&lt;p&gt;搞了一晚上，终于折腾出来了
Debian lenny用户,exaile-0.2.11
因为路径不同，需要修改
这里给出一个如何重新制作deb包的方法
apt-get source exaile
cd exaile-0.2.11.1+debian
修改该目录下/root/exaile-0.2.11.1+debian/xl/media/mp3.py文件
 找到这行
&quot;WOAR&quot;: &quot;website&quot;,
        }
插入下面的代码
&lt;em&gt;unicode = unicode
def unicode(string, encoding=&#039;utf8&#039;, errors=&#039;strict&#039;):
    &quot;&quot;&quot;converts ID3 tags from legacy encodings to Unicode
    &quot;&quot;&quot;
    try:
        string =  string.decode(&#039;utf8&#039;).encode(&#039;iso8859-1&#039;)
    except:
        return _unicode(string)
    for enc in (&#039;utf8&#039;, &#039;gb2312&#039;, &#039;big5&#039;, &#039;gb18030&#039;, &#039;big5hkscs&#039;, &#039;euc-jp&#039;, &#039;euc&lt;/em&gt;kr&#039;, &#039;cp1251&#039;, &#039;utf16&#039;):
        try:
            return string.decode(enc)
        except:
            pass
    return string&lt;/p&gt;

&lt;p&gt;然后就是重新打包
apt-get build-dep exaile #先安装编译需要的库
apt-get install fakeroot #用这个软件重新打包
fakeroot debian/rules binary #执行这条命令将在上级目录生成一个新DEB包
dpkg -i 安装它就可以了
建议保存下来下次使用
但注意不要升级该软件 ：）&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>搞了一晚上，终于折腾出来了
Debian lenny用户,exaile-0.2.11
因为路径不同，需要修改
这里给出一个如何重新制作deb包的方法
apt-get source exaile
cd exaile-0.2.11.1+debian
修改该目录下/root/exaile-0.2.11.1+debian/xl/media/mp3.py文件
 找到这行
"WOAR": "website",
        }
插入下面的代码
<em>unicode = unicode
def unicode(string, encoding='utf8', errors='strict'):
    """converts ID3 tags from legacy encodings to Unicode
    """
    try:
        string =  string.decode('utf8').encode('iso8859-1')
    except:
        return _unicode(string)
    for enc in ('utf8', 'gb2312', 'big5', 'gb18030', 'big5hkscs', 'euc-jp', 'euc</em>kr', 'cp1251', 'utf16'):
        try:
            return string.decode(enc)
        except:
            pass
    return string</p>

<p>然后就是重新打包
apt-get build-dep exaile #先安装编译需要的库
apt-get install fakeroot #用这个软件重新打包
fakeroot debian/rules binary #执行这条命令将在上级目录生成一个新DEB包
dpkg -i 安装它就可以了
建议保存下来下次使用
但注意不要升级该软件 ：）</p>]]></content:encoded>
	</item>
	<item>
		<title>By: fanqo</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-87149</link>
		<dc:creator>fanqo</dc:creator>
		<pubDate>Sun, 18 May 2008 13:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-87149</guid>
		<description>&lt;p&gt;请问雪梨，这补丁应该怎么用啊。
难道要自己编译？&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>请问雪梨，这补丁应该怎么用啊。
难道要自己编译？</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 雪梨</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-86600</link>
		<dc:creator>雪梨</dc:creator>
		<pubDate>Mon, 28 Apr 2008 08:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-86600</guid>
		<description>&lt;p&gt;这是适用于 exaile-0.2.11 的补丁&lt;/p&gt;

&lt;p&gt;http://launchpadlibrarian.net/13981853/legacy-encodings-support.diff&lt;/p&gt;

&lt;p&gt;效果
http://img254.imageshack.us/img254/8564/screenshot2cv7.png&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>这是适用于 exaile-0.2.11 的补丁</p>

<p><a href="http://launchpadlibrarian.net/13981853/legacy-encodings-support.diff" rel="nofollow">http://launchpadlibrarian.net/13981853/legacy-encodings-support.diff</a></p>

<p>效果
<a href="http://img254.imageshack.us/img254/8564/screenshot2cv7.png" rel="nofollow">http://img254.imageshack.us/img254/8564/screenshot2cv7.png</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: olo</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-61130</link>
		<dc:creator>olo</dc:creator>
		<pubDate>Sun, 02 Dec 2007 09:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-61130</guid>
		<description>&lt;p&gt;不好意思！如果在Gentoo下如何使用patch emerge后没有media/目录。我创建了一个mp3.py。好像没用。
要把patch打进去？谢谢&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>不好意思！如果在Gentoo下如何使用patch emerge后没有media/目录。我创建了一个mp3.py。好像没用。
要把patch打进去？谢谢</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 华华</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-59894</link>
		<dc:creator>华华</dc:creator>
		<pubDate>Mon, 26 Nov 2007 03:16:30 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-59894</guid>
		<description>&lt;p&gt;@y7etiboy:
我说的是漂亮地显示百度歌词&lt;/p&gt;

&lt;p&gt;@froglet:
应该可以&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@y7etiboy:
我说的是漂亮地显示百度歌词</p>

<p>@froglet:
应该可以</p>]]></content:encoded>
	</item>
	<item>
		<title>By: froglet</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-59777</link>
		<dc:creator>froglet</dc:creator>
		<pubDate>Sun, 25 Nov 2007 15:06:48 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-59777</guid>
		<description>&lt;p&gt;songbird导入的中文文件名的播放列表也是乱码，有办法解决吗？&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>songbird导入的中文文件名的播放列表也是乱码，有办法解决吗？</p>]]></content:encoded>
	</item>
	<item>
		<title>By: wyg1258</title>
		<link>http://linuxtoy.org/archives/exaile-chinese.html#comment-59708</link>
		<dc:creator>wyg1258</dc:creator>
		<pubDate>Sun, 25 Nov 2007 08:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/archives/exaile-chinese.html#comment-59708</guid>
		<description>&lt;p&gt;太好了～又多了一个选择&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>太好了～又多了一个选择</p>]]></content:encoded>
	</item>
</channel>
</rss>

