On Thu, Nov 16, 2000 at 06:42:31PM +0000, Robert Brady wrote:
> On Thu, 16 Nov 2000, Karlsson Kent - keka wrote:
>
> > I don't know if anyone *really* cares, but they are there, and
> > they are "doublewidth". But: 1) UAX 11 does care about this for
> > compatibility reasons; and 2) this kind of "width" data really
> > belongs *in* (or associated with) the font. So by choosing an
> > appropiate font list (in your terminal emulator preferences, or
> > whatever) one could provide the "context" needed, even for PUA
> > characters. An FDCC-set is most certainly the wrong place (unless
> > you also consider putting fonts there...).
>
> And how on earth is the program running in the terminal supposed to know
> the widths of the characters?
>
> No, we need wcwidth() to be locale-invariant.
Well, it is going to be locale, or charmap dependent.
Support for wcwidth() is also going into POSIX.2 - and
*that* is going to be an ISO standard, as opposed to TR 14652
which is only going to be a TR.
Kind regards
Keld
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/lists/