Hi,

I had the same problem in Spanish.

You must save your templates as UTF-8. For example, in Windows Notepad
you can do a save-as and choose UTF- as encoding, instead of ASCII.

Hope it helps,

G

On 11/1/06, Italo Maia <[EMAIL PROTECTED]> wrote:
>
> Well, here's the problem, in portuguese(my idiom), we have chars like
> '�' and '�' and '�', and i'm having trouble rendering these in my
> templates. Here's a example:
>
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml"; >
> <head>
> <meta content="application/xhtml+xml; charset=UTF-8"
> http-equiv="content-type"  />
> </head>
> <body>
> <b>Ol� mundo</b>
> </body>
> </html>
>
> the tag "<b>Ol� mundo</b>" is showed like "<b>Ol? mundo</b>".
> setting.py language code is set ( LANGUAGE_CODE = 'pt-br' ) and all my
> .py files starts with
> # -*- coding: utf-8 -*-
>
> How do i fix that?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to