help-gnu-emacs
[Top][All Lists]
Advanced

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

Dired doesn't decode UTF-8 file names (was: Dired confused by filenames


From: Kevin Rodgers
Subject: Dired doesn't decode UTF-8 file names (was: Dired confused by filenames starting with date-like strings)
Date: Thu, 24 Aug 2006 10:12:00 -0600
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Peter Dyballa wrote:

Am 24.08.2006 um 16:27 schrieb Kevin Rodgers:

There is no reason to set dired-use-ls-dired to anything but t or nil.
In particular, it does not determine which ls program is run.  Try:

(setq insert-directory-program "/sw/bin/ls"
      dired-use-ls-dired t)

Am 24.08.2006 um 16:35 schrieb Miles Bader:

So I guess the following should work:

   (setq dired-use-ls-dired t)
   (setq insert-directory-program "/sw/bin/gls")


Oh, yes, these work! Thank you! There isn't much difference compared to using Apple's ls; in GNU Emacs 22.0.50 UTF-8 characters are still displayed as a series of UTF-8 octets, and in GNU Emacs 23.0.0 I still cannot search for file names with German umlauts etc.

That is the first mention of UTF-8 in this thread.  Mile suggested using
GNU ls --dired to solve the OP's problem with date-like filenames.

Is file-name-coding-system (or default-file-name-coding-system) set
to utf-8?  Should it be?

Is there an entry in process-coding-system-alist for ls?  Should there
be?

--
Kevin





reply via email to

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