[Zope] html_quote, quoting accents

Jean-Francois.Doyon@CCRS.NRCan.gc.ca Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Fri, 2 May 2003 14:13:18 -0400


Hello,

I have french content on my site, which means accents and other =
high-bit
type characters.

For the first time a user actually ran into the problem of the =
characters
coming out wrong on his screen, so now I have to fix it :P

I tried using html_quote without success, and also using the =
&dtml-Title;
type syntax (Which apparently is auto-quoted) but in both cases my =
accents
are still coming out in raw latin-1 instead of something like é =
...

Of course in the case of the metadata, I don't want to html encode the
characters since technically it's not HTML just yet :)

Help ?

Thanks,

Jean-Fran=E7ois Doyon
Internet Service Development and Systems Support / Soutien de =
syst=E8mes et
developement de services Internet
GeoAccess Division / Division G=E9oAcc=E8s
Canada Center for Remote Sensing / Centre canadien de =
t=E9l=E9d=E9tection
Natural Resources Canada /  Ressources naturelles Canada
Phone / T=E9l=E9phone: (613) 992-4902
Fax / T=E9l=E9copieur: (613) 947-2410
http://atlas.gc.ca