preview is different than published

G

Gerald

I am working with some text. When I preview the work it all seems fine.
When I publish there are a number of inconsitencies. There are question
marks (?) at several locations in the body of the text. They are not
supposed to be there. How do I get rid of that?

Also the font in the published page is differnt than was reaquested. Any
help?
 
R

Ronx

Please give a link to the page.

The fonts that appear in a page must also be installed on the PC used to
view the page, otherwise the default font for the browser is used
(usually Times New Roman).
 
A

Andrew Murray

I don't see the errors you're getting.

Point of interest:
What pages do the errors appear on, what font are you using (and what
browser(s) for that matter?)

It might just be that I have that particular font and it all displays OK,
which re-iterates the point Ronx raised about the fonts you use being
required to be installed on the user's computer.

I see the pages in IE7 in a Arial or Verdana or similar sanserif font.
 
R

Ronx

The problem is caused by the page being encoded as Windows-1252, and the
server including the HTTP header:
Content-Type: text/html; charset=UTF-8


This results in the browser trying to decode the page as UTF-8.
Symbols, such as the ellipsis after "...every living soul..." in
http://www.geraldvaandering.com/scanning.htm will not display correctly
- in FireFox I see a ? in a diamond shape.

This is demonstrated at http://www.rxs-enterprises.org/tests/symbols/

The best solution is to remove the http header the server sends with the
page (ask your host to do this), or (more work for you) to encode the
pages as UTF-8.

To change the page encoding:
Open the web in FrontPage
Tools->Site Settings
On the language tab change the "Default page encoding" dropdown to
"Unicode (UTF-8)"
Click OK

Then use Edit->Replace

Find charset=Windows-1252
Replace with charset=utf-8

Tick "Find in source code" and select "All pages"
Click Replace All.

Now the tedious bit - open every page, change something to make it
"dirty" (delete a space and put it back in again)
Then save the page.

This last step ensures the pages are correctly encoded.

The pages have one other fault - the text colour is not defined. In my
Firefox setup the default text colour is orange - and this is the colour
your text appears as.

--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

http://www.rxs-enterprises.org/fp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top