Re: template and special character problem

2006-09-19 Thread Phil
I finally nailed it ! For some strange reason my editor did not save the index.html template in utf8. I've reloaded both template in another editor, force to save in utf-8 and all went well. Thanks to all for the support. Jorge Gajon wrote: > On 9/18/06, Phil <[EMAIL PROTECTED]> wrote: > > I

Re: template and special character problem

2006-09-18 Thread Jorge Gajon
On 9/18/06, Phil <[EMAIL PROTECTED]> wrote: > I tried what you suggested (replace my meta http-equiv by your version) > and it does no good )c: Sorry to hear that Phil, I don't know what else to suggest :( It is really weird that it works when you duplicate the content-type line though.

Re: template and special character problem

2006-09-18 Thread Phil
Hi Jorge, I tried what you suggested (replace my meta http-equiv by your version) and it does no good )c: I also checked my settings.py and there is no DEFAULT_CHARSET nor DEFAULT_CONTENT_TYPE, so they are defaulted to uft-8 and text/html. Thanks for the suggestion, though. Jorge Gajon wrote:

Re: template and special character problem

2006-09-17 Thread coulix
Malcolm Tredinnick wrote: > On Mon, 2006-09-18 at 00:22 +, coulix wrote: > > puting DEFAULT_CHARSET to utf-8 didnt solve the Ao? != Aôut > > Not that only Aôut orm date generation is liek this all other > > accesnts in the template are fine. > > I haven't been following this thread in all

Re: template and special character problem

2006-09-17 Thread Malcolm Tredinnick
On Mon, 2006-09-18 at 00:22 +, coulix wrote: > puting DEFAULT_CHARSET to utf-8 didnt solve the Ao? != Aôut > Not that only Aôut orm date generation is liek this all other > accesnts in the template are fine. I haven't been following this thread in all its gory details, but seeing this

Re: template and special character problem

2006-09-17 Thread coulix
puting DEFAULT_CHARSET to utf-8 didnt solve the Ao? != Aôut Not that only Aôut orm date generation is liek this all other accesnts in the template are fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: template and special character problem

2006-09-17 Thread coulix
Jorge Gajon wrote: > On 9/16/06, Phil <[EMAIL PROTECTED]> wrote: > > In the base.html template I added in the section a {% block > > extrahead %}{% endblock %}. > > And in the index.html template I added {% block extrahead %} > http-equiv="content-type" content="application/xhtml+xml; > >

Re: template and special character problem

2006-09-17 Thread Jorge Gajon
On 9/16/06, Phil <[EMAIL PROTECTED]> wrote: > In the base.html template I added in the section a {% block > extrahead %}{% endblock %}. > And in the index.html template I added {% block extrahead %} http-equiv="content-type" content="application/xhtml+xml; > charset=UTF-8" /> {% endblock %} It

Re: template and special character problem

2006-09-16 Thread Phil
Now that I think of it, I use the same editor for all of my templates, so I doubt that this is the root cause. Jorge Gajon wrote: > Hi, > > On 9/12/06, Phil <[EMAIL PROTECTED]> wrote: > > When I render index.html, the special character from base.html are > > rendered normaly but the ones from

Re: template and special character problem

2006-09-16 Thread Phil
Hi Jorge, thanks for the tip. I'll check that. In the meantime, I've solved this with a bit of a uncool hack. In the base.html template I added in the section a {% block extrahead %}{% endblock %}. And in the index.html template I added {% block extrahead %} {% endblock %} This seems to

Re: template and special character problem

2006-09-14 Thread Jorge Gajon
Hi, On 9/12/06, Phil <[EMAIL PROTECTED]> wrote: > When I render index.html, the special character from base.html are > rendered normaly but the ones from index.html are shown as '?'. Make sure that the editor you are using is writing your files to disk with the correct encoding.

template and special character problem

2006-09-12 Thread Phil
Hi all, Warning: I'm a new user in town, new to django (albeit already totaly converted this great framework), so be totally warned about my potentially uber-noob question. I have some troubles in the way special character (accentuated character �, �, � and the like) are presented in the