note 77789 added to function.session-start

From: Date: Thu, 13 Sep 2007 08:04:11 +0000
Subject: note 77789 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-130447@lists.php.net to get a copy of this message
Problem between utf BOM and PHP When using utf encoding, BOM is eventually added to the beginning of the file, allowing en editor to identify the used character coding. This is important if working with different encodings. Unfortunately, it seems that PHP is not able to handle BOM: BOM is sent to the Browser which is clearly wrong and results in several problems. Does anyone know, how to prevent BOM being sent to the Browser? ---- Server IP: 194.153.94.10 Probable Submitter: 212.25.21.114 ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- https://master.php.net/note/edit/77789 Del: integrated -- https://master.php.net/note/delete/77789/integrated Del: useless -- https://master.php.net/note/delete/77789/useless Del: bad code -- https://master.php.net/note/delete/77789/bad+code Del: spam -- https://master.php.net/note/delete/77789/spam Del: non-english -- https://master.php.net/note/delete/77789/non-english Del: in docs -- https://master.php.net/note/delete/77789/in+docs Del: other reasons-- https://master.php.net/note/delete/77789 Reject -- https://master.php.net/note/reject/77789 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#130447) next »