On 22 May 2011 09:03, Eli Orr (Office) <eli.orr@xxxxxxxxxxxx> wrote: > Dear Peter, > > But my point was different. > > If you DO NOT have any BOM of a File does > > mb_detect_encodin > > can detect the file type by scanning the whole file ?? > A few points: 1. top-posting on this list is frowned upon. Please bottom-post. 2. I did not write anything about BOM as far as I can recall. Neither does the page I linked to contain much about BOM (I really suggest reading it - as pointed out, the first comment should help you) Regards Peter -- <hype> WWW: plphp.dk / plind.dk LinkedIn: plind BeWelcome/Couchsurfing: Fake51 Twitter: kafe15 </hype> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php