[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fun with dired sorting
From: |
Andrew Innes |
Subject: |
Re: fun with dired sorting |
Date: |
03 Jan 2001 23:14:44 +0000 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
On 08 Dec 2000 11:51:59 +0000, Andrew Innes <address@hidden> said:
>Actually, it looks like some implicit interpretation of the bytes
>returned by the OS takes place first, when Emacs converts the filename
>returned by readdir to a lisp string. In particular, that conversion to
>a string may decide some of the bytes should be interpreted as multibyte
>characters (using the internal Emacs encoding).
>
>I think that is wrong. I believe the raw bytes returned by readdir
>should be directly decoded using `file-name-coding-system'.
I didn't hear any comment on the above, so I'm wondering if I should
install a change that creates a unibyte lisp string from the readdir
result, so that the subsequent invocation of DECODE_FILE is working from
the right data.
Any objections?
AndrewI
- Re: fun with dired sorting,
Andrew Innes <=