Re: debug template tag gives me: "'ascii' codec can't encode character"

2009-01-12 Thread Flo Ledermann
Malcolm, funny, I wanted to try the debug tag because of your tip in the interview with '42 Topics' :))) http://42topics.com/blog/2008/04/an-interview-with-malcolm-tredinnick/ It's not urgent on my side, just wanted to play around with it and wondered if there is something wrong in my

Re: debug template tag gives me: "'ascii' codec can't encode character"

2009-01-11 Thread Malcolm Tredinnick
On Sun, 2009-01-11 at 03:41 -0800, Flo Ledermann wrote: > Hi all, > > I just bumped into a problem I can't resolve: after adding the {% > debug %} template tag to one of my templates (no other changes), I get > the following error message: > > TemplateSyntaxError at /art/ > > Caught an

Re: debug template tag gives me: "'ascii' codec can't encode character"

2009-01-11 Thread Flo Ledermann
Oh, I should probably add that I am using # coding=utf-8 on some of my source files, because they contain unicode default values etc. Flo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

debug template tag gives me: "'ascii' codec can't encode character"

2009-01-11 Thread Flo Ledermann
Hi all, I just bumped into a problem I can't resolve: after adding the {% debug %} template tag to one of my templates (no other changes), I get the following error message: TemplateSyntaxError at /art/ Caught an exception while rendering: 'ascii' codec can't encode character u'\u2019' in