[Zope] UTF-8 problem with zope2.10 and postgresql

Garry Saddington garry at schoolteachers.co.uk
Fri Nov 6 15:52:20 EST 2009


Andrew Milton wrote:
> +-------[ Andreas Jung ]----------------------
> | Am 06.11.09 19:00, schrieb Jonathan (dev101):
> | > ----- Original Message ----- 
> | > From: "Andreas Jung" <lists at zopyx.com>
> | > To: "Claire Boussard" <claibous2 at free.fr>
> | > Cc: "zope" <zope at zope.org>
> | > Sent: Friday, November 06, 2009 12:47 PM
> | > Subject: Re: [Zope] UTF-8 problem with zope2.10 and postgresql
> | >
> | >
> | >   
> | >> Am 06.11.09 17:40, schrieb Claire Boussard:
> | >>     
> | >>> In the HTML page 
> | >>> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> | >>>   
> | >>>       
> | >> The ZPublisher does not care about that. You may set the content-type
> | >> explictly as HTTP header and not through http-equiv by calling
> | >>
> | >> RESPONSE.setHeader(key, value)
> | >>
> | >> (no idea how to do that using the ancient technology DTML).
> | >>     
> | >
> | > <dtml-call "RESPONSE.setHeader('Content-Type','text/html; charset=UTF-8')">
> | >
> | > DTML:  Mature, stable, reliable.
> | >   
> | Technology for dinosaurs :-)
> 
> Takes an extinction level event to wipe out dinosaurs... as opposed to a
> bit of a heat increase for lowly mammals d8)
> 

I've always been amused by this 'outdated' technology thing, with 
respect to dtml. Someone had better tell Linus to change his programming 
language for the kernel, it's getting a bit old by now. How about c#, 
that should do it.
Garry


More information about the Zope mailing list