Re: [PATCH] console UTF-8 fixes

From: Egmont Koblinger
Date: Thu Apr 12 2007 - 12:37:15 EST


On Thu, Apr 12, 2007 at 05:52:49PM +0200, Roman Zippel wrote:

> Well, it often doesn't end there, other users may report these as bugs and
> want to get them fixed, so we have to look ahead a little for possible
> problems.

They may even report that the current behavior of not knowing anything about
double-width characters is wrong. If Unicode is updated and someone reports
the kernel code is outdated, it's going to be fairly easy to update that one
as well.

I still can't see why my proposed version is by any means worse than the
current one. (I can see however that my version is still not perfect.)

> It has everything to do with this. It describes the terminal capabilities,
> so why should variable width support not one part of it?

Nice idea. Terminfo database should tell whether a particular terminal
supports double-width characters. Applications should expect the cursor to
move one or two cells depending on this. So both terminfo databases as well
as plenty of libraries and applications would need update. I'll ask Thomas
E. Dickey for his opinion.


--
Egmont
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/