Ticket #65 (closed defect: fixed)
TurboGears templates with latin-1 encoding
|Reported by:||cito@…||Owned by:||cmlenz|
I'd like to use German Umlaut characters in latin-1 (iso-8859-1) encoding in my HTML Genshi templates under Turbogears. Currently, it seems I can only use UTF-8 (hard coded in input.XMLParser). It would be nice if some parameter could be passed from Turbogears to Genshi telling it which default input encoding to use (for the output encoding, this is already possible). Maybe the HTMLParser could also determine the encoding from the meta content-type tag if no encoding is explicitely set. Then, everything after the meta tag would be parsed in with that encoding.