Mercurial > genshi > genshi-test
comparison ChangeLog @ 316:4ab9edf5e83b
Configurable encoding of template files, closing #65.
* The `XMLParser` constructor now accepts an optional encoding parameter.
* The `MarkupTemplate` and `TextTemplate` class also get an encoding parameter in their initializers.
* A `default_encoding` can be specified when creating a `TemplateLoader` instance, but the encoding can also be specified explicitly when calling the `load()` method.
* Encodings specified using an XML declaration in templates and XML files are now honored (as long as Expat supports them, that is, and it doesn't support many).
author | cmlenz |
---|---|
date | Tue, 24 Oct 2006 15:52:57 +0000 |
parents | dd6a18206119 |
children | 8ba12f886c8a |
comparison
equal
deleted
inserted
replaced
314:b592333efe1b | 316:4ab9edf5e83b |
---|