Try fetching the data via Django's shell. What do you get then?

Also, how did you configure MySQL to work with UTF-8? Did you modify
your my.cnf file so UTF-8 is the default? Or did you change your
database's settings manually? Or something else?

-- Andrew

On Jul 17, 5:33 pm, Larry <yuelizh...@gmail.com> wrote:
> Hi,
>
> I have a database with messages stored and utf-8 encoded. The messages
> look OK in the database, i.e, when I am in MySQL client the messages
> with special characters (e.g., Korean) are correctly displayed.
> However, in the web page, the special characters become
> irrecognizable, like this
>
> ã‚°ãƒ¼ã‚°ãƒ«ã ®æœ€æ–°ã ®ãƒ‡ãƒ¼ã‚¿ã‚»ãƒ³ã‚¿ãƒ¼ã ¯é žå¸¸è­˜ã ªã »ã ©é
> €²åŒ–㠗㠦㠄る ï¼  Blog on Publickey
>
> I read the django documentation it says django handles the coding
> automatically, but apparently this is not the case. Could anyone tell
> me what could wrong, is it the problem of the database of the django
> setting or other problem?
>
> Any help would be appreciated. Thanks in advance.
> -Larry
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to