As I see, it depends on system fonts: on my Macbook Chinese symbols renders in terminal as 1.5 latin symbols wide, so keep 2 places in line to render. But line navigation in readline uses simple pos++/pos-- so do this wrong.
References: http://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms http://stackoverflow.com/questions/3634627/how-to-know-the-preferred-display-width-of-unicode-characters So probably this problem affects not only CJK strings, but also denormalized strings for roman languages with diacritic signs. понедельник, 4 июня 2012 г., 8:30:12 UTC+4 пользователь Nathan Rajlich написал: > > I can confirm that the bug still exists in master. Though it seems like a > somewhat tricky one; I'm still looking into it. > > On Sun, Jun 3, 2012 at 8:38 PM, mscdex <[email protected]> wrote: > >> On Jun 3, 10:49 pm, 顾荣胜\" <[email protected]> wrote: >> > I try this also on node v0.7.9.[?] >> >> https://github.com/joyent/node/tarball/master >> > >
