Ticket #66 (closed defect: duplicate)
Setting input encoding from Turbogears
| Reported by: | cito@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | General | Version: | 0.3.3 |
| Keywords: | input encoding | Cc: |
Description
I'd like to be able to set an input encoding for my HTML templates in Turbogears since my HTML templates often are written in latin-1 with German Umlauts and these are still better supported by some editors than UTF-8. Currently, it seems only UTF-8 is supported (hard coded in XMLParser). Since you can already set the output encoding in Turbogears, it would be nice if you could set the input encoding as well. I think for Kid this is possible with the assume_encoding parameter.
Another nice feature would be to auto-determine the input encoding from XML declarations and HTML meta content-type tags.
