[Ilugc] Removing Byte Order Mark from PHP output

  • From: vinodh@xxxxxxxxxxxxxxxxx (Vinodh Rajan)
  • Date: Mon Sep 20 00:22:50 2010

Hi,

Whenever I echo something in PHP, the BOM gets appended automatically.

I am trying to print an output as XML. However, the resultant XML Is not
well formed, as the BOM gets appended before the resultant XML.

Parsers are not able to read the XML.

Is there any way to avoid or disable the BOM in PHP ?

V

Other related posts:

  • » [Ilugc] Removing Byte Order Mark from PHP output - Vinodh Rajan