#29249: Make serializers consistently unicode by default.
-------------------------------------+-------------------------------------
Reporter: hakib | Owner: Hasan
| Ramezani
Type: New feature | Status: assigned
Component: Core (Management | Version: master
commands) |
Severity: Normal | Resolution:
Keywords: dumpdata, unicode | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):
* has_patch: 1 => 0
* version: 2.0 => master
Comment:
Current behavior is inconsistent. XML serializer use Unicode by default,
on the other hand YAML and JSON serializers force ASCII. I think we should
make this behavior consistent instead of adding a new serializer-specific
option, i.e. pass `allow_unicode=True` to `yaml.dump()` and
`ensure_ascii=False` to `json.dump()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/29249#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.b03016e2b29b6c669a7f9ab0c0568e5c%40djangoproject.com.