Proofread changes to docs/serialization.txt from [3795]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-09-25 17:44:07 +00:00
parent 8920f65acd
commit f32318be98
1 changed files with 11 additions and 11 deletions

View File

@ -96,15 +96,15 @@ Django "ships" with a few included serializers:
.. _json: http://json.org/ .. _json: http://json.org/
.. _simplejson: http://undefined.org/python/#simplejson .. _simplejson: http://undefined.org/python/#simplejson
Notes For Specific Serialization Formats Notes for specific serialization formats
---------------------------------------- ----------------------------------------
json json
~~~~ ~~~~
If you are using UTF-8 (or any other non-ASCII encoding) data with the JSON If you're using UTF-8 (or any other non-ASCII encoding) data with the JSON
serializer, you must pass ``ensure_ascii=False`` as a parameter to the serializer, you must pass ``ensure_ascii=False`` as a parameter to the
``serialize()`` call. Otherwise the output will not be encoded correctly. ``serialize()`` call. Otherwise, the output won't be encoded correctly.
For example:: For example::