<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Len &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/len/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Why mb_strlen() Doesn&#8217;t Return the Correct Lenght</title>
		<link>/2010/04/28/why-mb_strlen-doesnt-return-the-correct-lenght/</link>
		<comments>/2010/04/28/why-mb_strlen-doesnt-return-the-correct-lenght/#respond</comments>
		<pubDate>Wed, 28 Apr 2010 16:17:08 +0000</pubDate>
		<dc:creator><![CDATA[Stoimen]]></dc:creator>
				<category><![CDATA[micro tutorial]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[C standard library]]></category>
		<category><![CDATA[Computer programming]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Expect]]></category>
		<category><![CDATA[Len]]></category>
		<category><![CDATA[Strlen]]></category>

		<guid isPermaLink="false">/?p=1497</guid>
		<description><![CDATA[It&#8217;s strange to notice that mb_strlen() doesn&#8217;t return always what you expect. The problem of course is in you, not in mb_strlen(). That&#8217;s because you probably doesn&#8217;t specify encoding. echo mb_strlen($str, 'UTF-8'); Now that&#8217;s another case!<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2011/08/18/powerful-php-less-known-string-manipulation/" rel="bookmark" title="Powerful PHP: Less Known String Manipulation">Powerful PHP: Less Known String Manipulation </a></li>
<li><a href="/2010/09/17/5-php-string-functions-you-need-to-know/" rel="bookmark" title="5 PHP String Functions You Need to Know">5 PHP String Functions You Need to Know </a></li>
<li><a href="/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/" rel="bookmark" title="An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output">An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output </a></li>
<li><a href="/2011/07/12/a-javascript-trick-you-should-know/" rel="bookmark" title="A JavaScript Trick You Should Know">A JavaScript Trick You Should Know </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>It&#8217;s strange to notice that mb_strlen() doesn&#8217;t return always what you expect. The problem of course is in you, not in mb_strlen(). That&#8217;s because you probably doesn&#8217;t specify encoding.</p>
<pre lang="php">echo mb_strlen($str, 'UTF-8');</pre>
<p>Now that&#8217;s another case!</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2011/08/18/powerful-php-less-known-string-manipulation/" rel="bookmark" title="Powerful PHP: Less Known String Manipulation">Powerful PHP: Less Known String Manipulation </a></li>
<li><a href="/2010/09/17/5-php-string-functions-you-need-to-know/" rel="bookmark" title="5 PHP String Functions You Need to Know">5 PHP String Functions You Need to Know </a></li>
<li><a href="/2011/04/12/an-ffmpeg-question-why-phps-exec-doesnt-return-the-command-output/" rel="bookmark" title="An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output">An FFMPEG Question &#8211; Why PHP&#8217;s exec() Doesn&#8217;t Return the Command Output </a></li>
<li><a href="/2011/07/12/a-javascript-trick-you-should-know/" rel="bookmark" title="A JavaScript Trick You Should Know">A JavaScript Trick You Should Know </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2010/04/28/why-mb_strlen-doesnt-return-the-correct-lenght/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
