#27125: Can not support django Internationalized domain name in URLValidation
-----------------------------+--------------------------------------
Reporter: RaminFP | Owner: nobody
Type: New feature | Status: closed
Component: Core (URLs) | Version: 1.10
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------------------------
Changes (by knbk):
* resolution: worksforme => invalid
Comment:
As far as I know this is because the command prompt doesn't really support
unicode. When encoding unsupported characters, Python has several
[https://docs.python.org/2/library/codecs.html#codec-base-classes error
modes]. The {{{replace}}} mode replaces any invalid characters with a
{{{?}}} when encoding a string.
This only affects your shell -- your Django code should work fine. I'm
afraid I don't know any workarounds for this issue, I'm not very familiar
with unicode issues on windows.
Either way, this seems to be a bug in how your shell handles unicode, not
in Django.
--
Ticket URL: <https://code.djangoproject.com/ticket/27125#comment:10>
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/065.bade5544b3268385feed5fa1e23bb462%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.