ID: 36444 Updated by: [EMAIL PROTECTED] Reported By: mark at openmailadmin dot org -Status: Open +Status: Bogus Bug Type: PCRE related Operating System: GNU/Linux PHP Version: 5.1.2 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: ------------------------------------------------------------------------ [2006-02-18 17:33:40] mark at openmailadmin dot org Description: ------------ If the given string has been encoded in UTF8, it will be returned in IS-8859-1 - but with the special chars destroyed. Reproduce code: --------------- $string = 'Fächerwahl'; // with German ä in UTF8 echo $string."\n"; echo preg_quote($string)."\n"; // the latter will have its umlaut destroyed. Expected result: ---------------- Two (binary) identic strings. Actual result: -------------- Actually they differ. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36444&edit=1