From: jcalvert at gmx dot net Operating system: Debian Sid PHP version: 5.0.0RC1 PHP Bug Type: XML related Bug description: xml_parse() chokes on the UTF-8 magic string
Description: ------------ In PHP4 parsing a UTF-8 file with the magic string (\xEF\xBB\xBF) works just fine. In PHP5.0.0RC1 the function returns with an error message saying the string didn't contain any XML data. Stripping the magic string before calling the function yields the expected result. libxml2* version 2.6.7-1 -- Edit bug report at http://bugs.php.net/?id=27808&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27808&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27808&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27808&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27808&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27808&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27808&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27808&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27808&r=support Expected behavior: http://bugs.php.net/fix.php?id=27808&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27808&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27808&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27808&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27808&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27808&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27808&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27808&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27808&r=float
