[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behaviour with dired and UTF8
From: |
Richard Stallman |
Subject: |
Re: Strange behaviour with dired and UTF8 |
Date: |
Fri, 09 May 2003 07:19:38 -0400 |
I don't exactly understand the Handa's proposal, so could someone
explain to me how it handles a situation such as /<foo>/<bar>
where <foo> is encoded in latin-1 and <bar> in utf-8 ?
If you literally mean that the absolute file name in the file system
consists of a Latin-1 part and a UTF-8 part, my first reaction would
have been "give up". But it occurs to me that if Emacs decodes the
components one by one, it might be able to handle this case correctly
without too much work.
Re-encoding such names is more difficult. I think the only possible method
is to record the proper coding system in text properties in the string.
We would have to make expand-file-name preserve these properties when
it makes sense; likewise other functions that operate on file names.
It adds up to a fair amount of work--not impossible, but perhaps
not worth the trouble.
I mean, of course Emacs should do better than the rest of the crowd,
but if most/all other applications fail miserably, then it's unlikely
that people will use such setups and it would be wrong for Emacs to
make it easier to create such a setup
I agree with that point.
- Re: Strange behaviour with dired and UTF8, (continued)
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/02
- Re: Strange behaviour with dired and UTF8, Kenichi Handa, 2003/05/02
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/02
- Re: Strange behaviour with dired and UTF8, Kenichi Handa, 2003/05/02
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/02
- Re: Strange behaviour with dired and UTF8, Richard Stallman, 2003/05/03
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/03
- Re: Strange behaviour with dired and UTF8, Richard Stallman, 2003/05/05
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/07
- Re: Strange behaviour with dired and UTF8, Stefan Monnier, 2003/05/07
- Re: Strange behaviour with dired and UTF8,
Richard Stallman <=
- Re: Strange behaviour with dired and UTF8, Stephen J. Turnbull, 2003/05/03
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/03
- Re: Strange behaviour with dired and UTF8, Kenichi Handa, 2003/05/05
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/06
- Re: Strange behaviour with dired and UTF8, Kenichi Handa, 2003/05/06
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/07
- Re: Strange behaviour with dired and UTF8, Richard Stallman, 2003/05/03
- Re: Strange behaviour with dired and UTF8, Jan D., 2003/05/03
- Re: Strange behaviour with dired and UTF8, Kenichi Handa, 2003/05/06
- Re: Strange behaviour with dired and UTF8, Richard Stallman, 2003/05/06