Re: Template_context_Processor - Does it create an overhead on every template?

2007-02-12 Thread guzru
On 12 Feb, 18:38, Merric Mercer <[EMAIL PROTECTED]> wrote: > By using TEMPLATE_ CONTEXT_PROCESSOR (by adding a path to a function, > example - Function X) I understand that I can access the variables of > Function X in any template. In any template to which you pass a RequestContext object. >

Re: Charset hell (xgettext and utf-8 message ids)

2007-01-19 Thread guzru
On Jan 19, 11:32 am, Michael Radziej <[EMAIL PROTECTED]> wrote: It's probably still possible to improve this, but I tried and gave up after I found out about the above. Any cool shortcut much appreciated! I'll see what I can do ;) it's a real pain. Perhaps you should rather really start

Re: Charset hell

2007-01-18 Thread guzru
Julio Nobrega ha scritto: I had a bunch of unicode errors using the template tag trans while using Python 2.3. Upgrading to 2.4 solved all my problems. What version of Python are you using? I'm using python 2.4.3. I've also tried updating gettext without success. Thank you, Cristiano

Charset hell

2007-01-18 Thread guzru
Hello, I'm using django 0.95 and xgettext 0.14.6 on fedora core 6. My app's sources are all in utf-8. It is declared explicitly on top of any page like this: # -*- coding: utf-8 -*- My app is written in italian, so it uses non-ascii characters. Upon calling make-messages I keep getting: