From: michal dot vrchota at seznam dot cz Operating system: - PHP version: 5.0.5 PHP Bug Type: Directory function related Bug description: require/include problem with loading native .php in UTF8 encoding
Description: ------------ I store "define() dictionary" in .php in native UTF8 encoding (first 4 bytes represent UTF8 encoding - PHP dont recognize them) When I use include/include_once/require/require_once There is a E_WARNING that output already started I think PHP should be smarter :) Reproduce code: --------------- // fr.php is in native utf-8 require_once("fr.php"); Actual result: -------------- Warning: Cannot modify header information - headers already sent by (output started at d:\wwwroot\hotel4you\html\admin\lang\fr.php:1) in d:\wwwroot\hotel4you\html\admin\index.php on line 61 -- Edit bug report at http://bugs.php.net/?id=34464&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34464&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34464&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34464&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34464&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34464&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34464&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34464&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34464&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34464&r=support Expected behavior: http://bugs.php.net/fix.php?id=34464&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34464&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34464&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34464&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34464&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34464&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34464&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34464&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34464&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34464&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34464&r=mysqlcfg