emacs-devel
[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: Stefan Monnier
Subject: Re: dired doesn't work properly with a multibyte locale
Date: Sat, 11 Jan 2003 15:00:12 -0500

> 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.


        Stefan





reply via email to

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