ID: 30333 Updated by: [EMAIL PROTECTED] Reported By: altuhov at nm dot ru -Status: Open +Status: Feedback Bug Type: Filesystem function related Operating System: WinXP SP2 PHP Version: 5.0.2 New Comment:
This example is useles, as we don't know which encoding you are using. Please put this script in a zip file and provide the link to it in this bugreport. Previous Comments: ------------------------------------------------------------------------ [2004-10-06 05:05:56] altuhov at nm dot ru Description: ------------ Functions fscanf() and sscanf() is not working correctly with other then English language in the handle. In my example was used Russian language. Reproduce code: --------------- <?php $cont="�������� �������� ����������"; // get author info and generate DocBook entry $n = sscanf($cont,"%s %s %s"); print_r($n); ?> Expected result: ---------------- Array ( [0] => �������� [1] => �������� [2] => ���������� ) Actual result: -------------- Array ( [0] => �� [1] => ��� [2] => � ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30333&edit=1
