#34407: Report faulty file when some static file has non-utf-8 encoding
------------------------------------------------+------------------------
               Reporter:  Claude Paroz          |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  contrib.staticfiles   |        Version:  dev
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 When running collectstatic and one of the file is not encoded in UTF-8,
 the post_process method raises:
 `UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position
 41998: invalid start byte` without any clue about the wrong file. It would
 be nice to report which file produced the error.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34407>
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/01070186d182ae83-9bff8a72-e95d-4b46-b84b-916c525bd7b0-000000%40eu-central-1.amazonses.com.

Reply via email to