Now I get UnicodeDecodeError with pylons and mako. I referred the wiki page
http://wiki.pylonshq.com/pages/viewpage.action?pageId=5439551 but good not get much idea how to configure this for pylons 1.0 and above. Here is error details UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) File '/home/krish/stacked/stacked/controllers/section.py', line 32 in index return render('/home/home.html') File '/home/krish/webenv/lib/python2.6/site-packages/Pylons-1.0- py2.6.egg/pylons/templating.py', line 243 in render_mako cache_type=cache_type, cache_expire=cache_expire) File '/home/krish/webenv/lib/python2.6/site-packages/Pylons-1.0- py2.6.egg/pylons/templating.py', line 218 in cached_template return render_func() File '/home/krish/webenv/lib/python2.6/site-packages/Pylons-1.0- py2.6.egg/pylons/templating.py', line 240 in render_template return literal(template.render_unicode(**globs)) File '/home/krish/webenv/lib/python2.6/site-packages/Mako-0.3.3- py2.6.egg/mako/template.py', line 198 in render_unicode as_unicode=True) File '/home/krish/webenv/lib/python2.6/site-packages/Mako-0.3.3- py2.6.egg/mako/runtime.py', line 404 in _render return context._pop_buffer().getvalue() File '/home/krish/webenv/lib/python2.6/site-packages/Mako-0.3.3- py2.6.egg/mako/util.py', line 114 in getvalue return self.delim.join(self.data) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) The code cause this problem is ${feed.plain_text | n}. One thing to note that I haven't mentioned the utf-8 in the mako coding lines. Is that required? Please help me out to solve this issue. I could not get tail or head of the problem. -- Krish http://www.stacked.in -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.