← Back to team overview

desktop-packages team mailing list archive

[Bug 1516345] [NEW] Invalid characters in file name

 

Public bug reported:

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)

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1516345

Title:
  Invalid characters in file name

Status in nautilus package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1516345/+subscriptions


Follow ups