1
1.3 final / Re: Document downloads result in binary text inside browser, no download file
« on: May 20, 2009, 09:09:15 pm »
Solved the problem.
We are using OpenGoo in spanish.
Turns out that some files had UTF-8 characters and the files where encoded as UTF-8 with BOM (some encoded header characters).
I just needed to edit these files and convert to UTF-8 without BOM.
It seems the BOM header gets sent to the browser before PHP finishes parsing the code and this messes things up.
I hope this helps in case someone runs into the same problem.
We are using OpenGoo in spanish.
Turns out that some files had UTF-8 characters and the files where encoded as UTF-8 with BOM (some encoded header characters).
I just needed to edit these files and convert to UTF-8 without BOM.
It seems the BOM header gets sent to the browser before PHP finishes parsing the code and this messes things up.
I hope this helps in case someone runs into the same problem.