From where can I change zopes default encoding? I have problem displaying correctly utf-8 dtml documents. Thanks, George
George Tesseris wrote at 2005-3-23 18:46 +0200:
From where can I change zopes default encoding? I have problem displaying correctly utf-8 dtml documents.
Zope does not have a "default encoding" (not yet). The the correct "Content-Type" (response) header. If you are using Unicode, then Zope's ZPublisher will use the "Content-Type" charset declared on the response to encode the result. -- Dieter
Dieter Maurer wrote:
Zope does not have a "default encoding" (not yet).
It does, hard coded in line 436 of HTTPResponse.py :-( There is an open collector entry seeking to address this... cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (3)
-
Chris Withers -
Dieter Maurer -
George Tesseris