This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Web Authoring Tools > September 2004 > Dreamweaver UTF-8 and BOM





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dreamweaver UTF-8 and BOM
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!!!
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews