I'm learning Python/Django. In a template html file, I have some
Chinese characters. When trying to display it I got the following
exception:

---------
Request Method:         GET
Request URL:    http://127.0.0.1:8000/
Exception Type:         UnicodeDecodeError
Exception Value:

'utf8' codec can't decode bytes in position 1445-1446: invalid data

Exception Location:     C:\Python25\lib\encodings\utf_8.py in decode,
line 16
----------

The charset I use in the html file is 'gb2312'.

What do I have to do in order to be able to display Chinese language
content?

Thanks,
Frank

--~--~---------~--~----~------------~-------~--~----~
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