#34464 [Opn->WFx]: require/include problem with loading native .php in UTF8 encoding

From: Date: Sun, 11 Sep 2005 16:02:03 +0000
Subject: #34464 [Opn->WFx]: require/include problem with loading native .php in UTF8 encoding
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-84867@lists.php.net to get a copy of this message
ID: 34464 Updated by: derick@php.net Reported By: michal dot vrchota at seznam dot cz -Status: Open +Status: Wont fix Bug Type: Directory function related Operating System: - PHP Version: 5.0.5 New Comment: This wil be fixed for PHP 6 (and already is). Previous Comments: ------------------------------------------------------------------------ [2005-09-11 17:13:28] michal dot vrchota at seznam dot cz 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 this bug report at http://bugs.php.net/?id=34464&edit=1

« previous php.bugs (#84867) next »