#16315: FileSystemStorage.listdir returns names with unicode normalization form
that is different from names in database
-------------------------------------+-------------------------------------
     Reporter:  philomat             |                    Owner:  nobody
         Type:  Bug                  |                   Status:  reopened
    Component:  File                 |                  Version:  1.3
  uploads/storage                    |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  storage unicode      |      Needs documentation:  0
  normalization                      |  Patch needs improvement:  0
    Has patch:  0                    |                    UI/UX:  0
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by aaugustin):

 Indeed, in my experience, preserving the encoding is easier.

 The reason is that if you normalize the filename, you cannot look up the
 file on disk by name any longer, you have to try all normalization forms.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16315#comment:7>
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.


Reply via email to