Hi there, I don't use Unicode but would like to make my apps `Unicode proof'. Now that Mako is the default templating language do we still need to do the following:
Include these options in environment.py tmpl_options['mako.input_encoding'] = 'UTF-8' tmpl_options['mako.output_encoding'] = 'UTF-8' tmpl_options['mako.default_filters'] = ['decode.utf8'] as well as this return statement in environment.py return pylons.config.Config(tmpl_options, map, paths, request_settings = dict(charset = 'utf-8', error = 'replace')) I presume we still also need to include ## -*- coding: utf-8 -*- at the start of every Mako template that uses Unicode characters... regards, Brendan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---