GNOME Bugzilla – Bug 121150
'Open With' and UTF-8
Last modified: 2004-12-22 21:47:04 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.
gnome-i18n- is this still a problem?
Please don't cc: gnome-i18n directly.
I can reproduce this problem with nautilus 2.4.0.
Is this bug still around in nautilus 2.8 ?
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)
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?
yes, everything is full UTF-8. emacs is the only software i've found that raises this bug.
Mmmh it works here as well, even with emacs Maybe it's something with your version of emacs ?
GNU Emacs 21.3.1 available on Debian SID.
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.
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
I'm closing as NOTABUG. Anyone feel free to disagree (NOTGNOME?).