In my Django application, a user has uploaded a file with a unicode character in the name.
When I\'m downloading files, I\'m calling :
os.path.exists
Encode to the filesystem encoding before calling. See the locale module.
locale