On Thu, 24 May 2001, Markus Kuhn wrote:
> Roozbeh Pournader wrote on 2001-05-24 14:58 UTC:
> > Quoting '/usr/src/linux/drivers/char/consolemap.c' (Lines 647-648):
> >
> > else if (ucs == 0xfeff || (ucs >= 0x200a && ucs <= 0x200f))
> > return -2; /* Zero-width space */
> >
> > Does this mean that there's no way we can make the console display
> > characters for ZWNBSP (also known as BOM), ZWJ, ZWNJ, ..., something like
> > a show controls mode? We really need your comments.
>
> It was probably me who wrote that console code half a decade ago,
> wondering what to do with all these zero-width characters that might or
> might not be present in plaintext.
Don't you agree that this portion should be removed? The console displays
characters that do not have an equivalent glyph in the font as zero-width,
so the proper way for not showing these should be not assigning any glyph.
I don't know whom should I ask for that. Do you know the appropriate
person?
> [I'm somewhat disappointed for not having received any feedback
> whatsoever on the above SCW proposal so far. Come on!]
Well, reading the standard itself is still on my TODO. But I agree that we
need an escape sequence for switching widths. We are trying to write
programs that work on both console and XTerm, and we have this problem
with Arabic points: they should be single-width on the console and
zero-width on XTerm.
--roozbeh
-
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/