#27146: template shows empty string instead of actual content when it contains
characters like \x93 and \x94
---------------------------------+--------------------------------------
Reporter: bricas | Owner: nobody
Type: Bug | Status: closed
Component: Template system | Version: 1.8
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by bricas):
Thanks for the update -- I also saw the same result when i tried to add a
test. I suspect there are other encoding-related issues happening.
To elaborate on the *actual* scenario we're dealing with: We have a small
Django app that parses `git diff` output and shows what those changes are.
The files being diff'ed could come from a variety of OSes in who-knows-
what encoding (including CP-1252). I have a feeling that properly reading
in the diff output would solve the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/27146#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.ab08dc1d26f506619a1d13825c7af822%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.