From: [EMAIL PROTECTED] Operating system: win2000 PHP version: 4.1.1 PHP Bug Type: Strings related Bug description: sunstr_count
View my code: $str1="D¨D¨D"; $str2="D"; print substr_count($str1,$str2); return 3,right result is 1 the string "¨D" in Gb2312,is Chinese. Used english is right,I don't konw where the problem in it. -- Edit bug report at: http://bugs.php.net/?id=15097&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]