Unicode issue - historical and probably trivial

Paul Mothersdill <[email protected]> Tue, 5 Jul 2011 10:56:08 +0200
Newsgroups gmane.comp.python.cheetah
Message-ID <CACSh9jnJPHXhYz8_d5mtWBrMWuFHpkY_C_1P4Ero_OAGPD9whg@mail.gmail.com>
I have a number of templates written many years ago as part of a
Python/MySQL/mod_python setup on a Ubuntu server. No problems, no
further development and I'd almost forgotten there were Cheetah
templates in there.

The Ubuntu box has been upgraded as per the normal cycles. The latest
upgrade (10.10 to 11.04 which included Python 2.7 and Cheetah 2.4.3)
led to the system sending utf-8 to the web browser, rather than 8859-1
as previously. I've attempted to isolate the problem, and I think it's
Cheetah (the last link before mod_python sends the stuff to the
browser) that's now receiving 8859-1 and outputting utf-8 (something
it presumably didn't do in the version that was packaged in Ubuntu
10.10).

Is this correct, and if so is there a simple way to get Cheetah to
output 8859-1 (can't find anything in the documentation)?

pm

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2