<?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: Hot PHP UTF-8 tips</title>
	<atom:link href="http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Mon, 23 Nov 2009 05:23:27 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-915090</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Sun, 12 Apr 2009 14:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-915090</guid>
		<description>&lt;strong&gt;&lt;/strong&gt;&lt;em&gt;&lt;blockquote&gt;&lt;code&gt;&lt;/code&gt;&lt;/blockquote&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p><strong></strong><em><br />
<blockquote><code></code></blockquote></em></p>
<p></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-857684</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 05 Jan 2009 07:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-857684</guid>
		<description>&lt;strong&gt;fdsf&lt;/strong&gt;&lt;em&gt;&lt;blockquote&gt; bdafdsf  dfasa&lt;/blockquote&gt;&lt;/em&gt;dfadsfsd
alert(&#039;hi&#039;);</description>
		<content:encoded><![CDATA[<p><strong>fdsf</strong><em><br />
<blockquote> bdafdsf  dfasa</blockquote></em></p>
<p>dfadsfsd<br />
alert(&#8217;hi&#8217;);</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rin</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-853428</link>
		<dc:creator>Rin</dc:creator>
		<pubDate>Tue, 23 Dec 2008 21:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-853428</guid>
		<description>A package of PHP functions to manipulate strings encoded in a UTF-8 encoding. The powerful solution/contribution for UTF-8 support in your CMF/CMS, written on PHP. 
http://forum.dklab.ru/viewtopic.php?p=91015</description>
		<content:encoded><![CDATA[<p>A package of PHP functions to manipulate strings encoded in a UTF-8 encoding. The powerful solution/contribution for UTF-8 support in your CMF/CMS, written on PHP.<br />
<a href="http://forum.dklab.ru/viewtopic.php?p=91015" rel="nofollow">http://forum.dklab.ru/viewtopic.php?p=91015</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: erkekjetter</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-733195</link>
		<dc:creator>erkekjetter</dc:creator>
		<pubDate>Mon, 26 May 2008 14:04:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-733195</guid>
		<description>You can find a extended unicode upper/lower case mapping table at
http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/nls/rbagsuppertolowermaptable.htm
Might be useful for someone, it certainly was for me.</description>
		<content:encoded><![CDATA[<p>You can find a extended unicode upper/lower case mapping table at<br />
<a href="http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/nls/rbagsuppertolowermaptable.htm" rel="nofollow">http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/nls/rbagsuppertolowermaptable.htm</a><br />
Might be useful for someone, it certainly was for me.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: bietchetlien</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-214514</link>
		<dc:creator>bietchetlien</dc:creator>
		<pubDate>Thu, 29 Mar 2007 18:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-214514</guid>
		<description>How to explode unicode string? Thanks</description>
		<content:encoded><![CDATA[<p>How to explode unicode string? Thanks</p>]]></content:encoded>
	</item>
	<item>
		<title>By: monul</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-67476</link>
		<dc:creator>monul</dc:creator>
		<pubDate>Fri, 13 Oct 2006 08:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-67476</guid>
		<description>&lt;a href=&quot;http://monul.ru/&quot; rel=&quot;nofollow&quot;&gt;monul&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://monul.ru/" rel="nofollow">monul</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: monul</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-67475</link>
		<dc:creator>monul</dc:creator>
		<pubDate>Fri, 13 Oct 2006 08:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-67475</guid>
		<description>hehe! hacking encodings - eternal php theme!
&lt;a href=&quot;http://monul.ru/&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>hehe! hacking encodings &#8211; eternal php theme!<br />
<a href="http://monul.ru/" rel="nofollow"></a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2006-08-11 &#187; D.C Life</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-45131</link>
		<dc:creator>links for 2006-08-11 &#187; D.C Life</dc:creator>
		<pubDate>Sat, 12 Aug 2006 13:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-45131</guid>
		<description>[...] SitePoint Blogs » Hot PHP UTF-8 tips (tags: read php)   No Tags   .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: blue;} .adText {font: normal 10pt Arial; text-decoration: none; color: black;} [...]</description>
		<content:encoded><![CDATA[<p>[...] SitePoint Blogs » Hot PHP UTF-8 tips (tags: read php)   No Tags   .adHeadline {font: bold 10pt Arial; text-decoration: underline; color: blue;} .adText {font: normal 10pt Arial; text-decoration: none; color: black;} [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Reverse Email Lookup &#187; Reverse Email Lookup - Hot PHP UTF-8 tips</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-45090</link>
		<dc:creator>Reverse Email Lookup &#187; Reverse Email Lookup - Hot PHP UTF-8 tips</dc:creator>
		<pubDate>Sat, 12 Aug 2006 06:15:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-45090</guid>
		<description>[...] Hot PHP UTF-8 tipsSitePoint,&#160;Australia&#160;- Aug 10, 2006&#8230; noise about UTF-8, got an email from Marek &#8230; if they match in the lookup array &#8230; of sequences, representing characters, and utf8_from_unicode() does the reverse) ; &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Hot PHP UTF-8 tipsSitePoint,&nbsp;Australia&nbsp;- Aug 10, 2006&#8230; noise about UTF-8, got an email from Marek &#8230; if they match in the lookup array &#8230; of sequences, representing characters, and utf8_from_unicode() does the reverse) ; &#8230; [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: MarekG</title>
		<link>http://www.sitepoint.com/blogs/2006/08/10/hot-php-utf-8-tips/comment-page-1/#comment-45050</link>
		<dc:creator>MarekG</dc:creator>
		<pubDate>Fri, 11 Aug 2006 22:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1676#comment-45050</guid>
		<description>It is not clear to me why MediaWiki uses for converting case this code:

&lt;code&gt;function uc ( $str, $first = false )&lt;/code&gt; // in file LanguageUtf8.php, mediawiki-1.7.1.tar.gz
...
&lt;code&gt;return preg_replace( &quot;/$x([a-z]&#124;[\\xc0-\\xff][\\x80-\\xbf]*)/e&quot;, 
	      &quot;strtr( \&quot;\$1\&quot; , \$wikiUpperChars )&quot;, 	      $str );
&lt;/code&gt;

See their lookup table, they have also &quot;a-z=&gt;A-Z&quot; arrays there:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Utf8Case.php

This has to be slow. 

Why it should not be enough just:
&lt;blockquote&gt;&lt;code&gt;if (!$first) return strtr ($str, $wikiUpperChars); // ?&lt;/code&gt;&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>It is not clear to me why MediaWiki uses for converting case this code:</p>
<p><code>function uc ( $str, $first = false )</code> // in file LanguageUtf8.php, mediawiki-1.7.1.tar.gz<br />
&#8230;<br />
<code>return preg_replace( "/$x([a-z]|[\\xc0-\\xff][\\x80-\\xbf]*)/e", 
	      "strtr( \"\$1\" , \$wikiUpperChars )", 	      $str );
</code></p>
<p>See their lookup table, they have also &#8220;a-z=&gt;A-Z&#8221; arrays there:<br />
<a href="http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Utf8Case.php" rel="nofollow">http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Utf8Case.php</a></p>
<p>This has to be slow. </p>
<p>Why it should not be enough just:</p>
<blockquote><code>if (!$first) return strtr ($str, $wikiUpperChars); // ?</code></blockquote>]]></content:encoded>
	</item>
</channel>
</rss>
