Invalid characters in file name

Bug #1516345 reported by Elbarbudo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
New
Low
Unassigned

Bug Description

Step 1 :

I got file names with invalid encoding (mainly from an Ooooold Mac)
In nautilus, it is displayed as

Ch 03 _ jud�o-christianisme.DOC (codage non valide)

But an ls command displays :

Ch 03 _ jud?o-christianisme.DOC
(Without the "codage non valide" mention)

Step 2 :

In Nautilus, I renamed the file just by correcting the invalid character :

The result is :
Ch 03 _ judéo-christianisme.DOC (codage non valide)

And the ls command issues :
Ch 03 _ judéo-christianisme.DOC (codage non valide)

So I had originally an invalid file without any mention of it in command line, and I end with a correctly encoded filename with the mention "codage non valide"

I wish a more consistent behaviour by not writing back the string " (codage non valide)" to the file name after correction,
or by writing the string " (codage non valide)" to the file name on detection of the invalid coding.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nautilus 1:3.10.1-0ubuntu9.10
ProcVersionSignature: Ubuntu 3.13.0-68.111-generic 3.13.11-ckt27
Uname: Linux 3.13.0-68-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Nov 15 08:09:53 2015
GsettingsChanges:
 b'org.gnome.nautilus.list-view' b'default-visible-columns' b"['name', 'size', 'type', 'date_modified', 'owner', 'group', 'permissions']"
 b'org.gnome.nautilus.list-view' b'use-tree-view' b'true'
 b'org.gnome.nautilus.list-view' b'default-column-order' b"['name', 'size', 'type', 'date_modified', 'date_accessed', 'owner', 'group', 'permissions', 'mime_type', 'where']"
InstallationDate: Installed on 2014-05-24 (539 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Elbarbudo (patricearnal) wrote :
Changed in nautilus (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.