emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange behaviour with dired and UTF8


From: Jan D.
Subject: Re: Strange behaviour with dired and UTF8
Date: Sat, 3 May 2003 20:11:44 +0200

It would be fundamentally clean to make sure that decoding of file
names is never many-one.  Is that possible?  Some of your messages
suggest it is already the case.

I don't think it is possible as long as Emacs only has one file
system encoding (file-name-coding-system).

The original problem is this:

file-name-coding-system is latin-1
Open dired on a directory with UTF-8 file names.
Do C-x RET r utf-8.
Try to operate on a file with non-ascii characters gives
  "File no longer exists; type `g' to update Dired buffer"

This is because when decoding the file name Emacs uses latin-1 and thus
doesn't get the original file name back.

As long as there can be file names with different encodings this problem
can occur.

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]