<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_21871"> <div class="blockcode"> <div id="code_YTM"><ol> <li> <?php <li>mb_internal_encoding('UTF-8');</li> <li>$a = '我爱你 I love you';</li> <li> <li>header('content-type:text/html; charset=UTF-8');</li> <li>echo mb_strlen($a);</li> <li>echo '<br>';</li> <li>echo mb_substr($a,1,2);</li> <li>?></li> </ol></div> <em onclick="copycode($('code_YTM'));">复制代码</em> </div> </td></tr></table> <div id="comment_21871" class="cm"> </div> <div id="post_rate_div_21871"></div> <br><br>