#20354: `makemessages` crashes when reading non-UTF8 encoded files.
-------------------------------------+-------------------------------------
     Reporter:  mrmachine            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Management     |                  Version:  master
  commands)                          |               Resolution:  fixed
     Severity:  Release blocker      |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by Claude Paroz <claude@…>):

 In [changeset:"23b234a9d9ea26acb9bb12ba14231ce8844d2e53"]:
 {{{
 #!CommitTicketReference repository=""
 revision="23b234a9d9ea26acb9bb12ba14231ce8844d2e53"
 [1.5.x] Fixed #20354 -- `makemessages` no longer crashes with
 `UnicodeDecodeError`

 Handle the `UnicodeDecodeError` exception, send a warning to `stdout` with
 the
 file name and location, and continue processing other files.
 Backport of 99a6f0e77 from master.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20354#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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to