I have a lamp server and it has an output that I think is also the cause of preventing page redirections using header('location: xxxx');
it doesn’t always show up but sometimes it just outputs 
I am using ob_start('ob_gzhandler'); , the only thing that I thought might be causing this, can anyone help please?
UPDATE
I used Dreamweaver sometimes and I think it’s the editor that’s causing it. It only shows Unicode options when I try to save:
- C (Canonical Decomposition, followed by Canonical Composition)
- KC (Compatibility Decomposition, followed by Canonical Composition)
- KD (Compatibility Decomposition)
- D (Canonical Decomposition)
and then a check mark for “Include Unicode Signature (BOM)
which I never check off even though my problem is the BOM
You can try correcting this by changing your content type.