<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[[编码处理]PHP中GBK和UTF8编码处理]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Sat, 18 Aug 2007 03:50:27 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	 一、编码范围1. GBK (GB2312/GB18030)<br/>&#92;x00-&#92;xff GBK双字节编码范围<br/>&#92;x20-&#92;x7f ASCII<br/>&#92;xa1-&#92;xff 中文<br/>&#92;x80-&#92;xff 中文<br/><br/>2. UTF-8 (Unicode)<br/>&#92;u4e00-&#92;u9fa5 (中文)<br/>&#92;x3130-&#92;x318F (韩文<br/>&#92;xAC00-&#92;xD7A3 (韩文)<br/>&#92;u0800-&#92;u4e00 (日文)<br/>ps: 韩文是大于[&#92;u9fa5]的字符<br/>正则例子:<br/>preg_replace(”/([&#92;x80-&#92;xff])/”,”",$str);<br/>preg_replace(”/([u4e00-u9fa5])/”,”",$str);<br/><br/>代码例子：<br/><br/><br/>//判断内容里有没有中文-GBK (PHP)<br/>function check_is_chinese($s)&#123;<br/> &nbsp; return preg_match('/[&#92;x80-&#92;xff]./', $s)<br/><br/>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [编码处理]PHP中GBK和UTF8编码处理]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>