﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14902	Won't delete files with accents (or other unicode characters)	typeshige	nobody	"I did some searches and didn't find it.  I have a model with an ImageField.  When I try to delete, it fails whenever the filename has accents.  I'm using Linux.


/home/django/.virtualenvs/astrobiology/lib/python2.6/site-packages/django/core/files/storage.pyc in delete(self, name)
    190         name = self.path(name)
    191         # If the file exists, delete it from the filesystem.

--> 192         if os.path.exists(name):
    193             os.remove(name)
    194 

/home/django/.virtualenvs/astrobiology/lib/python2.6/genericpath.pyc in exists(path)
     16     """"""Test whether a path exists.  Returns False for broken symbolic links""""""
     17     try:
---> 18         st = os.stat(path)
     19     except os.error:
     20         return False

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 103: ordinal not in range(128)
"		closed	Core (Other)	1.2		invalid	unicode		Unreviewed	0	0	0	0	0	0
