#18404: SuspiciousOperation exception is thrown if application static path contains non-ascii characters -------------------------------------+------------------------------------- Reporter: andkit@… | Owner: nobody Type: Bug | Status: new Component: contrib.staticfiles | Version: 1.4 Severity: Normal | Resolution: Keywords: | Triage Stage: Has patch: 1 | Unreviewed Needs tests: 0 | Needs documentation: 0 Easy pickings: 0 | Patch needs improvement: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by msopacua):
* cc: m.r.sopacua@… (added) Comment: Replying to [comment:4 aaugustin]: > Apparently my terminal (under OS X) doesn't support `export LC_ALL=fr_FR.ISO-8859-1`; that activates the C locale instead. That's cause on FreeBSD derived systems the locale would be fr_FR.ISO8859-1. The root cause is that u umlaut in latin-1 conflicts with UTF-8 encoding, where the value is used as part of the variable size encoding scheme: {{{ >>> u = unicode('\xfc', 'latin1') >>> u.encode('utf-8') '\xc3\xbc' }}} -- Ticket URL: <https://code.djangoproject.com/ticket/18404#comment:5> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.