| Lachlan Hunt 2004-09-24, 7:28 pm |
| Hi,
I'm just learning PHP, and I'm writing all my files using Dreamweaver
MX 2002 (version 6.1). I've set the character encoding to utf-8, and as
a result dreamweaver automatcally inserts the byte order mark at the
beginning of the file. Unfortunately, the version of PHP my ISP has
installed on my host, doesn't support the UTF-8 BOM, and it is
incorrectly output as content, so I can't add or modify any headers as
described in this bug [1].
So, I've asked my ISP to update PHP, but they haven't responded for
several days, and I doubt they will update any time soon, so I need a
way to configure Dreamweaver to omit the BOM from all files. I've
searched with google, and I can only find the option in Dreamweaver
2004, but I can't afford to upgrade, so does anybody know if there are
any configuration files with hidden options, or any other method that
can be used to prevent the BOM from being written to files in my version?
[1] http://bugs.php.net/bug.php?id=22108
--
Lachlan Hunt
http://www.lachy.id.au/
lachlan.hunt@lachy.id.au.update.virus.scanners
Remove .update.virus.scanners to email me,
NO SPAM and NO VIRUSES!!!
|