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

Re: [OSX] weird UTF-8 behavior with cd autocompletion



I have one more question:

With this option set and "%c" set in PS1, the UTF8 characters present in the
current directory name are printed before PS1.
Example with PS1="[%c]$" :

[ThÃse]$ ls
...
Ã%
[ThÃse]

Or:

[tÃtÃ]$ ls
...
ÃÃ$
[tÃtÃ]

Reading the documentation, it looks like print does not handle UTF-8
properly. Is is linked or is there another magic setopt ? :)

Regards,
Xavier

Le 11 fÃvr. 2010 Ã 20:14, David Evans a Ãcrit :

> On Thu, Feb 11, 2010 at 07:59:49PM +0100, Mikael Magnusson wrote:
>>
>> setopt combiningchars
>>
>
>  Has this made it into the docs?  It doesn't seem to be in the man
> pages I have for 4.3.10.
>


-----
Xavier GuÃrin - Doctoral student
TIMA Laboratory, SLS Group
46, av. FÃlix Viallet, 38000 GRENOBLE, FR
Mail : xavier.guerin@xxxxxxx<javascript:webmailto('xavier.guerin@xxxxxxx');>

Phone : +33(0)4 76 57 47 59
Ad Astra Per Aspera
Triste e' quel discepolo che non avanza il suo maestro


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