Michael Radziej wrote: > Hi Tsuyuki! > > tsuyuki makoto: >> Proposed solution: punicode conversion before call >> django.util.text.get_valid_filename. > > Why punycode? I'd think that most filesystems these days support UTF-8 > (though, with different normalization, which *is* a problem). > > * Wouldn't it be better to support any arbitrary > settings.FILE_SYSTEM_ENCODING?
> * What encoding does python use if you pass unicode to open()? > for os.listdir it uses sys.getfilesystemencoding(), so i assume it does the same for open(). so usually it does the correct thing. so using unicode filenames are probably fine, but then we are again back at the to-unicodify-or-not-to-unicodify-django question :) gabor --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
