ID: 37176 Updated by: [EMAIL PROTECTED] Reported By: lana0 at zahav dot net dot il -Status: Open +Status: Assigned Bug Type: ICONV related Operating System: XP SP2 PHP Version: 5.1.2 -Assigned To: +Assigned To: moriyoshi New Comment:
Assigned to the maintainer. Previous Comments: ------------------------------------------------------------------------ [2006-04-24 02:26:54] lana0 at zahav dot net dot il Description: ------------ The next statements return FALSE (and should return 1): echo iconv_strpos('11--','1-',0,'UTF-8'); echo iconv_strpos('-11--','1-',0,'UTF-8'); .i.e it fails if the first char of a searched string comes doubled in parsed one. Reproduce code: --------------- echo iconv_strpos('11--','1-',0,'UTF-8'); echo iconv_strpos('-11--','1-',0,'UTF-8'); Expected result: ---------------- 1 2 Actual result: -------------- FALSE FALSE ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37176&edit=1