<?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: [PHP] 如何切割中文標題</title>
	<atom:link href="http://blog.wu-boy.com/2007/05/18/104/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wu-boy.com/2007/05/18/104/</link>
	<description>介紹一堆美食日記，生活日記，電腦筆記</description>
	<lastBuildDate>Wed, 28 Jul 2010 06:21:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: [CodeIgniter] Text 補助函數 character_limiter 不適用於中文字 &#124; 小惡魔 - 電腦技術 - 生活日記 - 美食介紹 - AppleBOY</title>
		<link>http://blog.wu-boy.com/2007/05/18/104/comment-page-1/#comment-5537</link>
		<dc:creator>[CodeIgniter] Text 補助函數 character_limiter 不適用於中文字 &#124; 小惡魔 - 電腦技術 - 生活日記 - 美食介紹 - AppleBOY</dc:creator>
		<pubDate>Fri, 29 May 2009 07:43:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wu-boy.com/2007/05/18/104#comment-5537</guid>
		<description>[...] 在 CodeIgniter 裡面的 Text 補助函數，目前只適用於英文字體，不支援 utf-8 或者是簡體字體，bite 數超過2的都會出問題，當然是因為這是國外的 mvc 所以也沒有考慮到這麼週到就是了，也不是沒有辦法解決，之前就用了PHP官方網站所提供的一個函式來正確切割中文字串，就是要利用 ord 判斷 ASCII 編碼範圍，或者是可以使用 mb_substr 函式正確切割，之前寫一篇可以參考看看：[PHP] 如何切割中文標題。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 在 CodeIgniter 裡面的 Text 補助函數，目前只適用於英文字體，不支援 utf-8 或者是簡體字體，bite 數超過2的都會出問題，當然是因為這是國外的 mvc 所以也沒有考慮到這麼週到就是了，也不是沒有辦法解決，之前就用了PHP官方網站所提供的一個函式來正確切割中文字串，就是要利用 ord 判斷 ASCII 編碼範圍，或者是可以使用 mb_substr 函式正確切割，之前寫一篇可以參考看看：[PHP] 如何切割中文標題。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: windix</title>
		<link>http://blog.wu-boy.com/2007/05/18/104/comment-page-1/#comment-2956</link>
		<dc:creator>windix</dc:creator>
		<pubDate>Mon, 28 May 2007 00:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.wu-boy.com/2007/05/18/104#comment-2956</guid>
		<description>mb_系列的函数确实是正解。
不过若系统中未安装mb扩展，使用preg系列正则表达式函数来改写你之前提供的使用循环方式判断的函数也是比较好的选择，速度虽然没有mb快，但是会较之循环方式增进很多。</description>
		<content:encoded><![CDATA[<p>mb_系列的函数确实是正解。<br />
不过若系统中未安装mb扩展，使用preg系列正则表达式函数来改写你之前提供的使用循环方式判断的函数也是比较好的选择，速度虽然没有mb快，但是会较之循环方式增进很多。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
