godit icon indicating copy to clipboard operation
godit copied to clipboard

Does not support multibyte characters (e.g Chinese)

Open outersky opened this issue 12 years ago • 3 comments

Screen Shot 2013-04-06 at 10 22 33 PM

it will mess up the splited window border.

outersky avatar Apr 06 '13 14:04 outersky

That is almost true, the underlying library I use doesn't support CJK characters unfortunately. At the moment there is nothing I will do about it, but maybe in future I'll add support for that somehow. The reason why it's so hard, because termbox works by assumption that each character takes exactly one cell, with CJK runes it's not true, they take two.

But other multibyte characters which take one cell should work just fine.

nsf avatar Apr 06 '13 16:04 nsf

Actually should work now, can you please test it?

nsf avatar May 06 '13 21:05 nsf

I can confirm that it works like a charm now. CJK characters are well supported.

levindu avatar Apr 29 '21 09:04 levindu