Eliminate the EW BOM
How to eliminate the Byte Order Mark in the two most commonly used files in Expression Web.
The utf-8 bom in Expression Web is embedded in the template files used to generate a new blank html page and a new blank text file.
Below are instructions with images on how to remove the bom from these two files.
Note 1: This method has not been reviewed or endorsed
by Microsoft!!
Note 2: The following was accomplished using Windows XP Professional.
Note 3: After this change, editing files with applications other than
Expression Web
"may" restore the bom to a file.
Note 4: Repairing or reinstalling Expression Web will most likely
restore the files containing the bom, requiring that this procedure
be repeated.
In a normal installation of Expression Web, the template file for a new
html page is located as shown in the following image
and is named NORMAL.HTM.
To remove the byte order mark, right click the file and select "Open With"
and then select Notepad to open the file.
Highlight x-undefined as shown below,
and delete the highlighted text.
Then click Ctrl + A to highlight the text, then click Ctrl + C to copy it to
the clipboard.
Close Notepad.
Open a brand new instance of Notepad and press Ctrl + V to copy the text
into Notepad.
On the Notepad toolbar click File and then Save As...
In the Save As dialog, name the file NORMAL.HTM, set the Save as type to
All Files
and set the Encoding: drop down to ANSI and then click Save, as
shown below.
Place the new file into the same location as the original NORMAL.HTM.
In a normal installation of Expression Web, the template file for a new
text file is located as shown in the following image,
and is named BLKTXT.TXT
To remove the bom from this file, simply open a new instance of Notepad,
on the Notepad toolbar,
click File and then Save as. In the Save as dialog, name the file
BLKTXT.TXT then set the Save as type
drop down to All Files and set the Encoding: drop down to ANSI then click
Save, as shown below.
Place the new file into the same location as the original BLKTXT.TXT file.
Note that it should be a zero (0) byte file.
Copyright 2007, 95isalive.com
This page was last updated on
March 07, 2008