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 <head> section a {% block
extrahead %}{% endblock %}.
And in the index.html template I added {% block extrahead %} <meta
http-equiv="content-type" content="application/xhtml+xml;
charset=UTF-8" /> {% endblock %}

This seems to solved my problem but leave my html output with several
'content-type' meta which is not that good and not that bad.

I plan to debug this to see why Django doesn't seem to know what is the
encoding of the index.html template.

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 index.html are shown as '?'.
>
> Make sure that the editor you are using is writing your files to disk
> with the correct encoding.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to