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

Re: zsh doesn't understand some multibyte characters



On May 13,  9:14am, Danek Duvall wrote:
} Subject: zsh doesn't understand some multibyte characters
}
} Perhaps this is just on Solaris, I dunno. But for some multibyte
} characters [...] if I move the cursor back over them or delete back
} over them, zsh gets confused and moves two positions instead of one
}
} I'll note that the same thing happens with all the other shells on
} Solaris [... ] Where else should I be looking for the problem?

This sounds like the WCWIDTH() macro or function is returning the wrong
value for some characters.

If you are compiling your own zsh, can you (a) check whether config.h
defines BROKEN_WCWIDTH, and (b) if it does not, try defining it and
recompile to see if that makes any difference?



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