- added the 'encoding_errors' parameter to Template/TemplateLookup
for specifying the error handler associated with encoding to 'output_encoding' [ticket:40] - the Template returned by html_error_template now defaults to output_encoding=sys.getdefaultencoding(), encoding_errors='htmlentityreplace' [ticket:37]
Showing
- CHANGES 7 additions, 1 deletionCHANGES
- doc/build/content/unicode.txt 3 additions, 3 deletionsdoc/build/content/unicode.txt
- doc/build/content/usage.txt 3 additions, 3 deletionsdoc/build/content/usage.txt
- lib/mako/exceptions.py 1 addition, 1 deletionlib/mako/exceptions.py
- lib/mako/lookup.py 3 additions, 3 deletionslib/mako/lookup.py
- lib/mako/runtime.py 1 addition, 1 deletionlib/mako/runtime.py
- lib/mako/template.py 3 additions, 1 deletionlib/mako/template.py
- lib/mako/util.py 3 additions, 2 deletionslib/mako/util.py
- test/template.py 5 additions, 0 deletionstest/template.py
Loading
Please register or sign in to comment