<?xml version="1.0"?><rss version="2.0">
<channel>
  <title>Java Beans dot Asia - php category</title>
  <link>http://javabeans.asia/categories/php/</link>
  <description>Just a few simple tutorials</description>
  <language>en</language>
  <copyright>Alexander Zagniotov</copyright>
  <lastBuildDate>Tue, 23 Feb 2010 11:04:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  <image>
    <url>/images/blog-image.jpg</url>
    <title>Java Beans dot Asia (php category)</title>
    <link>http://javabeans.asia/</link>
  </image>
  <item>
    <title>How to detect UTF-8 multi byte characters</title>
    <link>http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html</link>
	 <description>
        Some time ago, I started playing with different encodings and character sets. One day I was looking at different encoding character string. What I wanted to do is simply to loop over the string and print out the characters. I thought it would be enough to have a web page with default charset UTF-8 to output characters correctly. I discovered that it was not enough. &lt;br /&gt;
&lt;br /&gt;
In this post I want to describe to you how to output characters from multi-byte character string to a web page. Throughout this post I will describe the pitfall and the solution to the latter while trying to output characters to a web page.&lt;br /&gt;
&lt;br /&gt;
Now, I am not a PHP expert, and I will be more than happy to hear your comments about this post.&lt;br /&gt;
&lt;br /&gt;
Consider following string. It contains characters from different character sets. At this stage, we still do not know how many bytes each character is. Why we need to know this information, I will will explain later in the post.&lt;br /&gt;
&lt;pre class=&#034;codeSample&#034;&gt;&amp;euro;Abب𦟌лώиב&amp;yen;&amp;pound;&amp;euro;&amp;cent;₡₢₣₤₥₦&amp;sect;₧₨₩₪₫₭₮漢&amp;Auml;&amp;copy;&amp;oacute;&amp;iacute;&amp;szlig;&amp;auml;&lt;/pre&gt;
The following is a snippet of PHP code, that loops over the same string described previously:&lt;br /&gt;
&lt;pre class=&#034;java:firstline[1]&#034; name=&#034;code&#034;&gt;$str = &amp;quot;&amp;euro;Abب𦟌лώиב&amp;yen;&amp;pound;&amp;euro;&amp;cent;₡₢₣₤₥₦&amp;sect;₧₨₩₪₫₭₮漢&amp;Auml;&amp;copy;&amp;oacute;&amp;iacute;&amp;szlig;&amp;auml;&amp;quot;;&lt;br /&gt;&lt;br /&gt;for ($index = 0; $index &amp;lt; strlen($str); $index ++)  {&lt;br /&gt;	echo &amp;quot;char: &amp;quot;.$str[$index].&amp;quot; &amp;lt; br / &amp;gt; &amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;
The for loop above, loops and outputs each of the string characters as follows:&lt;br /&gt;
&lt;pre class=&#034;codeSample&#034;&gt;char: �&lt;br /&gt;char: A&lt;br /&gt;char: b&lt;br /&gt;char: �&lt;br /&gt;char: �&lt;br /&gt;.&lt;br /&gt;.&lt;br /&gt;.&lt;/pre&gt;
Although encoding type of the page was set as UTF-8 (multi-byte character set), some of the characters were not properly printed out. The only characters that were printed properly are the &amp;quot;&lt;em&gt;A&lt;/em&gt;&amp;quot; and &amp;quot;&lt;em&gt;b&lt;/em&gt;&amp;quot;, letters of the Latin alphabet. &lt;br /&gt;
&lt;br /&gt;
So what has happened?&lt;br /&gt;
&lt;br /&gt;
The answer to that is, that in PHP, a single character has the size of one byte. Some of the characters in the above string are single-byte characters, and some are multi-byte. Letters of the Latin alphabet belong to &lt;em&gt;ISO-8859-1&lt;/em&gt; encoding, which is encoding for single-byte characters, while UTF-8 encoding can have more than two bytes per character.&lt;br /&gt;
&lt;br /&gt;
When loop printed out the characters from the given string, it printed all the characters as a single-byte character, therefore only the actual single-byte characters were properly printed (in the case &amp;quot;&lt;em&gt;A&lt;/em&gt;&amp;quot; and &amp;quot;&lt;em&gt;b&lt;/em&gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
What can be done to bypass this problem, is to check how many bytes each character is before printing it. &lt;br /&gt;
&lt;br /&gt;
The following table (taken from &lt;a href=&#034;http://en.wikipedia.org/wiki/UTF-8&#034; target=&#034;_blank&#034; alt=&#034;UTF-8&#034; title=&#034;UTF-8&#034;&gt;http://en.wikipedia.org/wiki/UTF-8&lt;/a&gt;) shows byte size of the character according to its ASCII value.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img border=&#034;0&#034; title=&#034;UTF-8 byte sequence ascii values&#034; alt=&#034;UTF-8 byte sequence ascii values&#034; src=&#034;http://javabeans.asia/images/posts/utfascii.gif&#034; /&gt;&lt;br /&gt;
&lt;br /&gt;
Consider the following code. To get information about byte size of each character, I used &lt;em&gt;ord() &lt;/em&gt;function to get the ASCII value.To print each character with the correct byte size, I am using &lt;em&gt;substr()&lt;/em&gt; function, that takes &lt;em&gt;length&lt;/em&gt; parameter, which is character size in bytes.&lt;br /&gt;
&lt;pre class=&#034;java:firstline[1]&#034; name=&#034;code&#034;&gt;&amp;lt;?php&lt;br /&gt;$str = &amp;quot;&amp;euro;Abب𦟌лώиב&amp;yen;&amp;pound;&amp;euro;&amp;cent;₡₢₣₤₥₦&amp;sect;₧₨₩₪₫₭₮漢&amp;Auml;&amp;copy;&amp;oacute;&amp;iacute;&amp;szlig;&amp;auml;&amp;quot;;&lt;br /&gt;	&lt;br /&gt;for ($index = 0; $index &amp;lt; strlen($str); $index ++)  {&lt;br /&gt;	&lt;br /&gt;	//get the ASCII value&lt;br /&gt;	$byte = ord($str[$index]);&lt;br /&gt;	&lt;br /&gt;	if ($byte &amp;lt;= 127)  {&lt;br /&gt;		$length = 1;&lt;br /&gt;		echo &amp;quot;1-byte char: &amp;quot;&lt;br /&gt;              .substr($str, $index, $length).&amp;quot; &amp;lt; br / &amp;gt; &amp;quot;;&lt;br /&gt;}&lt;br /&gt;	else if ($byte &amp;gt;= 194 &amp;amp;&amp;amp; $byte &amp;lt;= 223)  {&lt;br /&gt;		$length = 2;&lt;br /&gt;		echo &amp;quot;2-byte char: &amp;quot;&lt;br /&gt;               .substr($str, $index, $length).&amp;quot; &amp;lt; br / &amp;gt; &amp;quot;;&lt;br /&gt;}&lt;br /&gt;	else if ($byte &amp;gt;= 224 &amp;amp;&amp;amp; $byte &amp;lt;= 239)  {&lt;br /&gt;		$length = 3;&lt;br /&gt;		echo &amp;quot;3-byte char: &amp;quot;&lt;br /&gt;               .substr($str, $index, $length).&amp;quot; &amp;lt; br / &amp;gt; &amp;quot;;&lt;br /&gt;}&lt;br /&gt;	else if ($byte &amp;gt;= 240 &amp;amp;&amp;amp; $byte &amp;lt;= 244)  {&lt;br /&gt;		$length = 4;&lt;br /&gt;		echo &amp;quot;4-byte char: &amp;quot;&lt;br /&gt;               .substr($str, $index, $length).&amp;quot; &amp;lt; br / &amp;gt; &amp;quot;;&lt;br /&gt;      }&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;
Output as follows:
&lt;pre class=&#034;codeSample&#034;&gt;3-byte char: &amp;euro;&lt;br /&gt;1-byte char: A&lt;br /&gt;1-byte char: b&lt;br /&gt;2-byte char: ب&lt;br /&gt;4-byte char: 𦟌&lt;br /&gt;2-byte char: л&lt;br /&gt;2-byte char: ώ&lt;br /&gt;2-byte char: и&lt;br /&gt;2-byte char: ב&lt;br /&gt;2-byte char: &amp;yen;&lt;br /&gt;2-byte char: &amp;pound;&lt;br /&gt;3-byte char: &amp;euro;&lt;br /&gt;2-byte char: &amp;cent;&lt;br /&gt;3-byte char: ₡&lt;br /&gt;3-byte char: ₢&lt;br /&gt;3-byte char: ₣&lt;br /&gt;3-byte char: ₤&lt;br /&gt;3-byte char: ₥&lt;br /&gt;3-byte char: ₦&lt;br /&gt;2-byte char: &amp;sect;&lt;br /&gt;3-byte char: ₧&lt;br /&gt;3-byte char: ₨&lt;br /&gt;3-byte char: ₩&lt;br /&gt;3-byte char: ₪&lt;br /&gt;3-byte char: ₫&lt;br /&gt;3-byte char: ₭&lt;br /&gt;3-byte char: ₮&lt;br /&gt;3-byte char: 漢&lt;br /&gt;2-byte char: &amp;Auml;&lt;br /&gt;2-byte char: &amp;copy;&lt;br /&gt;2-byte char: &amp;oacute;&lt;br /&gt;2-byte char: &amp;iacute;&lt;br /&gt;2-byte char: &amp;szlig;&lt;br /&gt;2-byte char: &amp;auml;&lt;/pre&gt;&lt;div class=&#034;tags&#034;&gt;&lt;span&gt;Social Bookmarks : &lt;/span&gt;&amp;nbsp;&lt;a href=&#034;http://slashdot.org/bookmark.pl?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Slash Dot&#034;&gt;&lt;img src=&#034;common/images/slashdot.png&#034; alt=&#034;Add this post to Slashdot&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://digg.com/submit?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Digg this post&#034;&gt;&lt;img src=&#034;common/images/digg.png&#034; alt=&#034;Add this post to Digg&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://reddit.com/submit?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Reddit&#034;&gt;&lt;img src=&#034;common/images/reddit.png&#034; alt=&#034;Add this post to Reddit&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://del.icio.us/post?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Save this post to Del.icio.us&#034;&gt;&lt;img src=&#034;common/images/delicious.png&#034; alt=&#034;Add this post to Delicious&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.stumbleupon.com/submit?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Stumble this post&#034;&gt;&lt;img src=&#034;common/images/stumbleupon.png&#034; alt=&#034;Add this post to Stumble it&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.google.com/bookmarks/mark?op=edit&amp;amp;bkmk=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Google&#034;&gt;&lt;img src=&#034;common/images/google.png&#034; alt=&#034;Add this post to Google&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://technorati.com/faves?add=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034; target=&#034;_blank&#034; title=&#034;Add this post to Technorati&#034;&gt;&lt;img src=&#034;common/images/technorati.png&#034; alt=&#034;Add this post to Technorati&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.bloglines.com/sub/http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034; target=&#034;_blank&#034; title=&#034;Add this post to Bloglines&#034;&gt;&lt;img src=&#034;common/images/bloglines.png&#034; alt=&#034;Add this post to Bloglines&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.facebook.com/share.php?u=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034; target=&#034;_blank&#034; title=&#034;Add this post to Facebook&#034;&gt;&lt;img src=&#034;common/images/facebook.png&#034; alt=&#034;Add this post to Facebook&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.furl.net/storeIt.jsp?u=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;t=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Furl&#034;&gt;&lt;img src=&#034;common/images/furl.png&#034; alt=&#034;Add this post to Furl&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;amp;url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Windows Live&#034;&gt;&lt;img src=&#034;common/images/windowslive.png&#034; alt=&#034;Add this post to Windows Live&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;amp;u=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;t=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Yahoo!&#034;&gt;&lt;img src=&#034;common/images/yahoo.png&#034; alt=&#034;Add this post to Yahoo!&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;Related Posts&lt;/b&gt;&lt;br /&gt;&lt;i&gt;There are no related posts for this blog entry&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;</description>
	<!--
    <description>
          Some time ago, I started playing with different encodings and character sets. One day I was looking at different encoding character string. What I wanted to do is simply to loop over the string and print out the characters. I thought it would be enough to have a web page with default charset UTF-8 to output ...&lt;p&gt;&lt;a href=&#034;http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;&lt;div class=&#034;tags&#034;&gt;&lt;span&gt;Social Bookmarks : &lt;/span&gt;&amp;nbsp;&lt;a href=&#034;http://slashdot.org/bookmark.pl?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Slash Dot&#034;&gt;&lt;img src=&#034;common/images/slashdot.png&#034; alt=&#034;Add this post to Slashdot&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://digg.com/submit?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Digg this post&#034;&gt;&lt;img src=&#034;common/images/digg.png&#034; alt=&#034;Add this post to Digg&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://reddit.com/submit?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Reddit&#034;&gt;&lt;img src=&#034;common/images/reddit.png&#034; alt=&#034;Add this post to Reddit&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://del.icio.us/post?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Save this post to Del.icio.us&#034;&gt;&lt;img src=&#034;common/images/delicious.png&#034; alt=&#034;Add this post to Delicious&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.stumbleupon.com/submit?url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Stumble this post&#034;&gt;&lt;img src=&#034;common/images/stumbleupon.png&#034; alt=&#034;Add this post to Stumble it&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.google.com/bookmarks/mark?op=edit&amp;amp;bkmk=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Google&#034;&gt;&lt;img src=&#034;common/images/google.png&#034; alt=&#034;Add this post to Google&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://technorati.com/faves?add=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034; target=&#034;_blank&#034; title=&#034;Add this post to Technorati&#034;&gt;&lt;img src=&#034;common/images/technorati.png&#034; alt=&#034;Add this post to Technorati&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.bloglines.com/sub/http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034; target=&#034;_blank&#034; title=&#034;Add this post to Bloglines&#034;&gt;&lt;img src=&#034;common/images/bloglines.png&#034; alt=&#034;Add this post to Bloglines&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.facebook.com/share.php?u=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&#034; target=&#034;_blank&#034; title=&#034;Add this post to Facebook&#034;&gt;&lt;img src=&#034;common/images/facebook.png&#034; alt=&#034;Add this post to Facebook&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://www.furl.net/storeIt.jsp?u=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;t=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Furl&#034;&gt;&lt;img src=&#034;common/images/furl.png&#034; alt=&#034;Add this post to Furl&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;https://favorites.live.com/quickadd.aspx?mkt=en-us&amp;amp;url=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;title=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Windows Live&#034;&gt;&lt;img src=&#034;common/images/windowslive.png&#034; alt=&#034;Add this post to Windows Live&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&#034;http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&amp;amp;u=http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html&amp;amp;t=How to detect UTF-8 multi byte characters&#034; target=&#034;_blank&#034; title=&#034;Add this post to Yahoo!&#034;&gt;&lt;img src=&#034;common/images/yahoo.png&#034; alt=&#034;Add this post to Yahoo!&#034; border=&#034;0&#034; /&gt;&lt;/a&gt;&lt;/div&gt;</description>
      
	-->
    <category>php</category>
    <comments>http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html#comments</comments>
    <guid isPermaLink="true">http://javabeans.asia/2009/02/02/how_to_detect_utf_8_multi_byte_characters.html</guid>
    <pubDate>Mon, 02 Feb 2009 05:56:59 GMT</pubDate>
  </item>
  </channel>
</rss>
