Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problems with non-ascii filenames



2009/3/1 Vincent Lefevre <vincent@xxxxxxxxxx>:
> On 2009-03-01 00:28:39 +0200, Äsmail DÃnmez wrote:
>> touch xÃÃx
>> echo x<tab>
>>
>> completes to xÃÃx
>>
>> echo xÃ<tab>
>>
>> does nothing.
>
> Same problem under Linux:
>
>  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374913
>
>> Seems weird.
>
> Not weird. Normalization insensitivity is not implemented in zsh.

Assuming a filename usually only has one or two accented chars,
couldn't this be handled by using the _approximate completer?

% touch xo<0308>bap
% ls xÃbap<tab>

for me this changes the commandline back to ls xo<0308>bap (without
the combining option set).

Unfortunately it seems you can only match the whole filename, not
prefixes, so maybe it's not as useful as I first thought...

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author