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

Re: Unicode problem



On 22/01/2008, Clint Adams <clint@xxxxxxx> wrote:
> On Tue, Jan 22, 2008 at 02:09:03AM +0100, Mikael Magnusson wrote:
> > I don't know if this is at all helpful and everyone probably tried it
> > already, but all the chars Jörg posted work fine in bash (readline).
> > Cursoring and backspacing over a char that has combining chars on it
> > skips over / deletes both of them together, and it gets cursor
> > movement right as far as I can tell.
>
> Hmm, so if you add 4 combining characters to a letter, then make a
> mistake, you need to backspace and start from scratch?

So it appears.

> Is readline doing any kind of Unicode normalization?

$ echo é|cat -v
M-CM-)
$ echo é|cat -v
eM-LM-^A

btw I noticed just now the text boxes in firefox let you position the
cursor between the char and the combining char, but doesn't indicate
it in any other way than lack of cursor movement.

-- 
Mikael Magnusson


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