<?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: 分割GBK中文遭遇乱码的解决</title>
	<atom:link href="http://www.laruence.com/2009/11/16/1147.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.laruence.com/2009/11/16/1147.html</link>
	<description>PHP语言, PHP扩展, Zend引擎相关的研究,技术,新闻分享 - 左手代码 右手诗</description>
	<lastBuildDate>Thu, 09 Feb 2012 12:31:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: 分割GBK中文遭遇乱码的解决 &#124; 万维网黑客联盟</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-3945</link>
		<dc:creator>分割GBK中文遭遇乱码的解决 &#124; 万维网黑客联盟</dc:creator>
		<pubDate>Sun, 20 Mar 2011 10:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-3945</guid>
		<description>[...] 本文地址: http://www.laruence.com/2009/11/16/1147.html [...]</description>
		<content:encoded><![CDATA[<p>[...] 本文地址: <a href="http://www.laruence.com/2009/11/16/1147.html" rel="nofollow">http://www.laruence.com/2009/11/16/1147.html</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2326</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Thu, 19 Nov 2009 16:30:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2326</guid>
		<description>@关注着 1,查编码表 2,用16位编辑器, 3,在php中使用unpack, 4, 在js中使用charCodeAt .... 等等等等</description>
		<content:encoded><![CDATA[<p>@关注着 1,查编码表 2,用16位编辑器, 3,在php中使用unpack, 4, 在js中使用charCodeAt &#8230;. 等等等等</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 关注者</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2325</link>
		<dc:creator>关注者</dc:creator>
		<pubDate>Thu, 19 Nov 2009 15:22:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2325</guid>
		<description>弱弱的问一句：如何得到汉字的编码，呵呵</description>
		<content:encoded><![CDATA[<p>弱弱的问一句：如何得到汉字的编码，呵呵</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 巫山霏云</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2324</link>
		<dc:creator>巫山霏云</dc:creator>
		<pubDate>Tue, 17 Nov 2009 10:26:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2324</guid>
		<description>我觉得还是utf-8比较靠谱一点</description>
		<content:encoded><![CDATA[<p>我觉得还是utf-8比较靠谱一点</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gently</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2323</link>
		<dc:creator>gently</dc:creator>
		<pubDate>Tue, 17 Nov 2009 07:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2323</guid>
		<description>吼吼，可以把分割符换了，例如：&quot;&gt;&#124;&lt;&quot;，即用3个字符来分隔</description>
		<content:encoded><![CDATA[<p>吼吼，可以把分割符换了，例如：&#8221;&gt;|&lt;&#8221;，即用3个字符来分隔</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PeterYu</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2322</link>
		<dc:creator>PeterYu</dc:creator>
		<pubDate>Tue, 17 Nov 2009 03:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2322</guid>
		<description>如果不是gbk，倒可以使用mb_split来分割。
可惜mb的正则库只接受gb2312,不接受cp936即gbk.
UTF8也能直接使用。这时就体现出UTF8的好处了。。</description>
		<content:encoded><![CDATA[<p>如果不是gbk，倒可以使用mb_split来分割。<br />
可惜mb的正则库只接受gb2312,不接受cp936即gbk.<br />
UTF8也能直接使用。这时就体现出UTF8的好处了。。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cody</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2320</link>
		<dc:creator>cody</dc:creator>
		<pubDate>Mon, 16 Nov 2009 09:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2320</guid>
		<description>还是第一种方法有通用性，第二种方法除了中文外要考虑其他字符太多。</description>
		<content:encoded><![CDATA[<p>还是第一种方法有通用性，第二种方法除了中文外要考虑其他字符太多。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 雪候鸟</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2319</link>
		<dc:creator>雪候鸟</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2319</guid>
		<description>@simaopig  ...你的头像双人照.....</description>
		<content:encoded><![CDATA[<p>@simaopig  &#8230;你的头像双人照&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: simaopig</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2318</link>
		<dc:creator>simaopig</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2318</guid>
		<description>GBK编码：0×8040-0xffff, 
正则：[\\\\x80-\\\\xff][\\\\x40-\\\\xff]+
这样的组合就是前两位的80-ff结合后两位40-ff之间的所有字符，+表示出现一次或多次，贪婪模式，所以就是按非汉字分隔
赞，相当帅了，鸟哥，我爱死你了。</description>
		<content:encoded><![CDATA[<p>GBK编码：0×8040-0xffff,<br />
正则：[\\\\x80-\\\\xff][\\\\x40-\\\\xff]+<br />
这样的组合就是前两位的80-ff结合后两位40-ff之间的所有字符，+表示出现一次或多次，贪婪模式，所以就是按非汉字分隔<br />
赞，相当帅了，鸟哥，我爱死你了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zorro</title>
		<link>http://www.laruence.com/2009/11/16/1147.html/comment-page-1#comment-2317</link>
		<dc:creator>zorro</dc:creator>
		<pubDate>Mon, 16 Nov 2009 08:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.laruence.com/?p=1147#comment-2317</guid>
		<description>用了第一种方法  谢谢鸟哥</description>
		<content:encoded><![CDATA[<p>用了第一种方法  谢谢鸟哥</p>
]]></content:encoded>
	</item>
</channel>
</rss>

