Bug 236380

Summary: filemanager can't handle files with invalid encoded characters
Product: [I don't know] kde Reporter: Konstantinos Kostarellis <kostacooker>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: thiago
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: an rar including a zero bity file with an invalid filename encoding

Description Konstantinos Kostarellis 2010-05-04 23:48:38 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

If you have a file with a invalid character in the name filemanagers since 4.x can't handle them.
It not possible to copy, rename or delete such a file within dolphin or konqueror. Konqueror in version 3.5.x had no problem handling this, neither has for example nautilus. Als on shell you are able to rename, delete and copy such files.

Going to attach a rar containing a zero byte file with an invalid char encoded name.
To reproduce simply:
unrar x invalidchar.rar

try to access the file with kde filemanager and tools. All pretend the file is not available.

to delete that file go to console and simply delete.
Comment 1 Konstantinos Kostarellis 2010-05-04 23:50:19 UTC
Created attachment 43254 [details]
an rar including a zero bity file with an invalid filename encoding

unrar x invalidchar.rar

try to access with kde tools

to delete
rm CD1\ "tab"
Comment 2 Thiago Macieira 2010-05-04 23:57:57 UTC
This is intentional.

Invalid-encoded filenames are considered filesystem corruption. And, as such, it means you have to use filesystem corruption-fixing tools to fix them, just like you run fsck if the filesystem is broken.