note 77789 rejected from function.session-start by nlopess

From: Date: Thu, 13 Sep 2007 10:24:46 +0000
Subject: note 77789 rejected from function.session-start by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-130459@lists.php.net to get a copy of this message
Note Submitter: phpexpert at prologon dot ch ---- 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?

« previous php.notes (#130459) next »