Wednesday, July 1, 2015

Encode korean data of queryset with serialize 'json' got problem

i'm started django and python this week,
i've got some problem when i encode queryset to json string.
i tried serializers.serialize('xml', queryset),
it returns my korean data with no problem
but, 
serializers.serialize('jsonl', queryset) returns korean string to unicode string ( ex: \uaca8\uc6b8\ud559\uae30 )
i cant find any ways to fix this problem
plz help...

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d6d9df10-e481-48a7-9ed2-5c31e34be186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment