Monday, November 26, 2012

Re: Questions about unicode



On Fri, Nov 23, 2012 at 1:15 PM, Santiago Basulto <santiago.basulto@gmail.com> wrote:
Hey guys, i'm kind of confused here...

If I get data from a request, say:

request.GET.get("something") or request.POST.get("something")

Is it automatically being encoded based on the Encoding of the
request? Or I should take care of it explicitly?

It should be automatic.  At least I've never had to hand encode anything (except where the client, a SOAP encapsulated XML file, was untruthrul).

Bill

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate