ID: 32655 Updated by: [EMAIL PROTECTED] Reported By: dia-lagl at yandex dot ru -Status: Open +Status: Bogus Bug Type: Strings related Operating System: WinXP SP1 PHP Version: 4.3.11 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-04-10 13:27:17] dia-lagl at yandex dot ru Description: ------------ sscanf() not correctly works with language distinct from English language. For example in Russian language. Reproduce code: --------------- >From the documentation in Russian <?php // ïîëó÷àåì ñåðèéíûé íîìåð list($serial) = sscanf("SN/2350001", "SN/%d"); // è äàòó èçãîòîâëåíèÿ $mandate = "ßíâàðü 01 2000"; list($month, $day, $year) = sscanf($mandate, "%s %d %d"); echo "Óçåë $serial áûë èçãîòîâëåí: $year-" . $month . "-$day\n"; ?> Expected result: ---------------- "Óçåë 2350001 áûë èçãîòîâëåí: 2000-ßíâàðü-1 " Actual result: -------------- "Óçåë 2350001 áûë èçãîòîâëåí: -ß- " or something another ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32655&edit=1