Re: Thai/Devanagari in GNOME Terminal

On Mon, 23 Oct 2000, Chookij Vanatham wrote:

> 	V1 of sequence 1 can be displayed as Zero width
> 	V1 of sequence 2 can be displayed as Non-Zero width

> 	How would wcwidth() and wcswidth() be able to help ?

Obviously not at all when the same character has different widths by
context. I'm provisionally told that arabic and hebrew don't have this

There is wcswidth() though, that can be used in the same way. One has to
break the strings in safe places of course. Are word boundaries safe for
this in Thai? In general?

I agree that asking for the display width is a better course for the
future, the question is how much to coddle legacy tools.


giles ashlu bc ca

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]