'utf8' codec can't decode byte 0xe9 in position 303: invalid continuation byte
2,925 views
Skip to first unread message
Alex s
unread,
Nov 21, 2010, 2:51:52 PM11/21/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
In homepage.html file, I am trying to write the letter "é". So I have the following error:
'utf8' codec can't decode byte 0xe9 in position 303: invalid continuation byte
How can I resolve this ? I am trying to use brazilian language.
Thanks Alex
Tiago Almeida
unread,
Nov 22, 2010, 9:35:53 AM11/22/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi, change the encoding of the html file to 'utf-8'.
If you're using eclipse(pydev), you can do this by going to Edit ->
set encoding. (or something like that)
I remember it is the last choice in one of the top menus and it reads
"Set enconding".
Best regards,
Tiago Almeida
cocolombo
unread,
Nov 22, 2010, 10:58:29 AM11/22/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
The following line at the top of the file solved it for my french
characters.