After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 154685 - file with invalid unicode characters cannot be renamed properly
file with invalid unicode characters cannot be renamed properly
Status: RESOLVED DUPLICATE of bug 103802
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.9.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-10-06 14:16 UTC by Denis Jacquerye
Modified: 2005-03-06 15:32 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Denis Jacquerye 2004-10-06 14:16:13 UTC
I've only tried this in Icon view mode.
If a file has an invalid unicode character in its filename, it is displayed as
"filename (Invalid Unicode)" instead of simply "filename", which is good.
But when trying to rename the file, the "(Invalid Unicode)" string is kept in
the filename, which mean that the user has to both fix the invalid unicode
character and remove "(Invalid Unicode)" or else it will be added/kept in the
new filename.

Action: renaming a file with an invalid unicode character
Excpets: saves the file under the new filename.
Behaviour: saves the file under the new filename, including the "(Invalid
Unicode)" in the name.
Comment 1 Ilya Konstantinov 2005-02-05 13:25:46 UTC
To create an invalid filename, try something like this in bash:
echo > $'\xBE\xEF'
Comment 2 Martin Wehner 2005-03-06 15:32:06 UTC
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find. 

*** This bug has been marked as a duplicate of 103802 ***