What steps will reproduce the problem?
1.there is a <input type="text" name="message" value="中文Chinese" />
field
in the join_request_form。
2.submit the form data like this:
Dajax.friends_app_invite({ 'data':$('#join_request_form').formSerialize
() });
3.in the django end.
data = QueryDict(request.POST['data'])
join_request_form = MultiJoinRequestForm(data)
.......process with the form......
render = render_to_string( "friends_app/email_invite_form.html",
{'join_request_form':join_request_form})
dajax.assign("#join_request_form",'innerHTML',render)
return dajax
4. the error raised!the value of <input name="message"> ==> <input
type="text" name="message" value="Š¬çš„Chinese" />.
-->so, Dajax modify the encoding of my "message" field. how to
resolve
this error?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---