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 121150 - 'Open With' and UTF-8
'Open With' and UTF-8
Status: RESOLVED NOTABUG
Product: nautilus
Classification: Core
Component: general
unspecified
Other other
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-01 04:08 UTC by Benoît Dejean
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Benoît Dejean 2003-09-01 04:07:44 UTC
Package: nautilus
Severity: normal
Version: 2.2.4
Synopsis: 'Open With' and UTF-8
Bugzilla-Product: nautilus
Bugzilla-Component: general

Description:
Description of Problem:
can't open file with 'open with' + program (mostly emacs)

Steps to reproduce the problem:
1. browse to []/Développement/ for example (Développement is an utf-8
encoded name)
2. select a file
3. left-click -> open with -> emacs

Actual Results:

i am not able to open files located in dir with utf-8 names with each
program i need. gedit works find, emacs do bad.

'Développement' (utf-8) is interpreted in a latin-1 env as 'D<2 strange
characters>veloppement'. when trying to open with emacs, emacs is told
to open '[]/D<2 strange characters>veloppement/filename' which is not
correct.

emacs is able to manage with utf-8: i can spawn it that way 'emacs
[]/Développement/filename' without any problem, or browse utf-8 named
dir within it. so i think Nautilus is messing up.

Expected Results:

'open with' works fine.

How often does this happen?
always

Additional Information:
[benoit@athlon irc]$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8


-- 
Benoît Dejean <bnet@ifrance.com>

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-09-01 00:07 -------

Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.

Comment 1 Luis Villa 2003-11-13 21:46:23 UTC
gnome-i18n- is this still a problem?
Comment 2 Christian Rose 2003-11-14 11:48:10 UTC
Please don't cc: gnome-i18n directly.
Comment 3 Christian Rose 2003-11-14 11:51:32 UTC
I can reproduce this problem with nautilus 2.4.0.
Comment 4 Vincent Noel 2004-09-30 14:23:58 UTC
Is this bug still around in nautilus 2.8 ?
Comment 5 Benoît Dejean 2004-09-30 14:49:11 UTC
yes.

i try to open "Benoît/plop.txt"

emacs opens "Beno\303\256t/plop.txt"

î is U+00EE LATIN SMALL LETTER I WITH CIRCUMFLEX
octal \303\256

so it looks like something is badly escaped.

(opening "Benoît/plop.txt" in emacs is still OK)
Comment 6 Danilo Segan 2004-09-30 15:08:32 UTC
Everything works fine for me in Gnome 2.7.something (Natuilus from a couple of
months back), for Cyrillic folders and Latin filenames.

Even with your exact filename of "Benoît/plop.txt" I have no problems opening
the file.

I suspect there's something wrong with your locale setup. Are you sure Nautilus
is actually running in UTF-8 locale?
Comment 7 Benoît Dejean 2004-09-30 15:30:00 UTC
yes, everything is full UTF-8.
emacs is the only software i've found that raises this bug.
Comment 8 Vincent Noel 2004-09-30 16:51:59 UTC
Mmmh it works here as well, even with emacs
Maybe it's something with your version of emacs ?
Comment 9 Benoît Dejean 2004-09-30 17:02:24 UTC
GNU Emacs 21.3.1 available on Debian SID.
Comment 10 Danilo Segan 2004-09-30 17:07:28 UTC
Hum, I use Emacs CVS (which does have better UTF-8 support), but this is
probably not Nautilus bug since it works with other software. Try adding 
(prefer-coding-system 'utf-8)
to your .emacs, and reporting if that helps.
Comment 11 Benoît Dejean 2004-09-30 17:31:24 UTC
i'm using 
(prefer-coding-system 'mule-utf-8)

(prefer-coding-system 'utf-8) does solve the bug.

feel free to close this bug, i understand that Nautilus doesn't anything to do
with it. I'll reopen if i find another software with the same problem than
emacs. Sorry & thanks
Comment 12 Danilo Segan 2004-09-30 18:19:32 UTC
I'm closing as NOTABUG. Anyone feel free to disagree (NOTGNOME?).