emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: dired doesn't work properly with a multibyte locale


From: Miles Bader
Subject: Re: dired doesn't work properly with a multibyte locale
Date: Sat, 11 Jan 2003 15:16:13 -0500
User-agent: Mutt/1.3.28i

On Sat, Jan 11, 2003 at 03:00:12PM -0500, Stefan Monnier wrote:
> > It doesn't seem simple to get the byte offset information, so perhaps the
> > best thing to do is simply not use --dired if `file-name-coding-system' is
> > a multibyte encoding.  That change is simple to make in dired (and I just
> > manually set `dired-use-ls-dired' to nil), but I'm not sure how to tell if
> > a particular coding system is multibyte or not.  It'd be nice if there was
> > a function like `coding-system-multibyte-p'...
> 
> The other solution is to get "ls --dired" output with a "binary"
> coding system, then use the byte-offsets to add text-properties, and
> then do the decode-coding-region.

Won't the decode-coding-region smash all the text-properties?

-Miles
-- 
Come now, if we were really planning to harm you, would we be waiting here, 
 beside the path, in the very darkest part of the forest?




reply via email to

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