#26721: Document redirecting dumpdata output may result in incorrect encoding in
Windows PowerShell
--------------------------------------+------------------------------------
Reporter: OBu | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: dumpdata loaddata | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Carlton Gibson):
#32439 was closed as a duplicate, with `dumpdata` failing due to the
target file not explicitly setting the encoding.
Likely the solution here is to add to the
[https://docs.djangoproject.com/en/3.1/howto/windows/ Windows How-To] that
the default encoding can be set UTF8 now:
> Go to Settings there's a "Use Unicode UTF-8 for worldwide language
support", box in "Language" - "Administrative Language Settings" - "Change
system locale" - "Region Settings".
--
Ticket URL: <https://code.djangoproject.com/ticket/26721#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/061.5fa6f2d48363b20a3c2327a61d919da4%40djangoproject.com.