Chris Withers wrote at 2005-5-25 20:54 +0100: >Joern Wallstabe wrote: >> Seem Zopes ZPT system is trying to do the encoding, depending on on >> setHeader() method. >> So if this header is set you can simply return unicode strings. > >It's actually lower down in the stack... ZPublisher encodes the >response, and has a stoopid hard coded default of 'latin-1' that it >returns ;-)
You are wrong: ZPublisher uses what it finds in the "charset" parameter of the "Content-Type" response header. Only the default is "latin-1" (as specified by the HTML specification). -- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )