French accents not displaying correctly

Author Message
Karen 01/24/2005 11:27 am
Hello,

I have just downloaded two websites with French and English equivalents.
The first site, www.conservative.ca, downloaded with French accents.
The second site, www.liberal.ca, downloaded with symbols replacing the French accents. I checked the code and both websites used the accents themselves in the coding.

Any thoughts about why the two sites yield different results?

--Karen
p.s. Here`s a sample of the coding from the second site:

<LINK rel="stylesheet" type="text/css" href="./CSS/LPC.css">
<TABLE id="Table3" cellSpacing="1" cellPadding="1" width="100%" border="0">
<TR>
<TD valign="top">

<b><FONT class="titlestyle"><b>
LE PREMIER MINISTRE ANNONCE LA NOMINATION D’UN NOUVEL AMBASSADEUR AUX ETAT-UNIS
<br>
<br>
</b></FONT></b><img border="1" src=`http://www.liberal.ca/photobook/main/906FM1.jpg` ><br>

<br>
<font class="bodyStyle">
Le Premier ministre Paul Martin a annonce aujourd’hui la nomination de l’honorable Frank McKenna, c.p., ONB, c.r., au poste d’ambassadeur du Canada aux Etats-Unis. Cette nomination entrera en vigueur le 1er mars 2005.<br><br>
« C’est avec grand plaisir que j’annonce la nomination de Frank McKenna au poste d’ambassadeur du Canada aux Etats-Unis, en cette periode de renouvellement de nos relations, a declare le Premier ministre. Son experience et ses competences constitueront un atout considerable au moment de mettre en ?uvre le programme que le president Bush et moi-meme avons etabli durant sa visite, lequel programme vise a renforcer la securite commune, la prosperite et la qualite de vie de nos populations ».

</font>
<br>
Oleg Chernavin 01/24/2005 11:52 am
I think, there is an easy way to solve this. When you browse the site offline, right-click in the middle of the page and choose Encoding > Western European (Windows or ISO).

Does this help?

Best regards,
Oleg Chernavin
MP Staff
Karen 01/25/2005 12:22 pm
Hello Oleg,

I tried to make the change to the Western European encoding as you recommended in the browser; however, the only choice that worked was Unicode.

Thanks,

--Karen

> I think, there is an easy way to solve this. When you browse the site offline, right-click in the middle of the page and choose Encoding > Western European (Windows or ISO).
Karen 01/25/2005 02:02 pm
Hello Oleg,
I guess I have another question. Is there anyway that I can do a download with Unicode selected so that it will display correctly in the browser? Just wondering.
Thanks,
--Karen
Oleg Chernavin 01/26/2005 04:35 am
Well, the encoding is detected by the browser automatically. Unfortunately, I have no idea on how to automate this in Offline Explorer. Sorry.

Oleg.
Karen 01/26/2005 11:34 am
Oh well. Thanks for giving it some thought.
--Karen
Daniel Lacroix 01/26/2005 12:33 pm
I notice something different on the www.liberal.ca site.

Their is no line like the following
<meta http-equiv="Content-Type" CONTENT="text/html; charset=iso-8859-1">

Instead they are using an HTTP Response Header like
Content-Type: text/html; charset=utf-8

Daniel
Karen 01/26/2005 05:01 pm
Thanks, that should make it easier to identify in the future.
--Karen
Oleg Chernavin 01/27/2005 06:48 am
The http://www.liberal.ca/ site works better with OE, because Offline Explorer records the exact MIME type of the file it saves and then uses the content type to display the page in the browser.

Oleg.