$str = '日本語';$str2 = 'japan日本';print mb_strlen($str) . "<br />";print mb_strlen($str2) . "<br />";
実行結果37