From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Fix console utf8 composing
Date: Mon, 26 Dec 2005 10:26:24 +0500 [thread overview]
Message-ID: <43AF7F00.50304@ums.usu.ru> (raw)
In-Reply-To: <Pine.LNX.4.61.0512252209380.15152@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
>>Differences between our versions are described below.
>What do you think we should do? I have not given this fix any thought,
>because it applied fine for long time (+/- fuzz), so I cannot comment on
>anything in your version being better or not.
If you really don't care about characters beyond 0xffff (but see below),
please consider applying this on top of your patch:
--- linux-2.6.15-rc6/drivers/char/consolemap.c 2005-12-25
10:02:11.000000000 +0500
+++ linux-2.6.15-rc6.my/drivers/char/consolemap.c 2005-12-25
10:01:22.000000000 +0500
@@ -216,6 +216,7 @@
u16 **p1, *p2;
u16 *q;
+ if (!p) return;
q = p->inverse_trans_unicode;
if (!q) {
q = p->inverse_trans_unicode =
@@ -289,6 +290,7 @@
p = (struct uni_pagedir *)*vc_cons[i].d->vc_uni_pagedir_loc;
if (p && p != q) {
set_inverse_transl(vc_cons[i].d, p, USER_MAP);
+ set_inverse_trans_unicode(vc_cons[i].d, p);
q = p;
}
}
>>My version of to_utf8() takes uint as a second argument and handles values
>>beyonf 0xffff.
>
>I doubt that there is reason to support characters beyond 0xffff.
>CJK is within 0xffff, besides that console fonts just do not have the
>capacity to support CJK in a meaningful way.
Using console fonts is not the only way to display characters. You
forgot about jfbterm.
--
Alexander E. Patrakov
next prev parent reply other threads:[~2005-12-26 5:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-24 22:07 [PATCH] Fix console utf8 composing Jan Engelhardt
2005-12-25 5:15 ` Alexander E. Patrakov
2005-12-25 21:13 ` Jan Engelhardt
2005-12-26 5:26 ` Alexander E. Patrakov [this message]
2006-01-30 9:26 ` Jan Engelhardt
[not found] <Pine.LNX.4.61.0604022005290.12603@yvahk01.tjqt.qr>
2006-04-03 1:57 ` [PATCH] Fix console utf8 composing (F) (fwd) Alexander E. Patrakov
2006-04-03 8:48 ` Jan Engelhardt
2006-05-08 20:13 ` [PATCH] Fix console utf8 composing Jan Engelhardt
2006-05-09 7:49 ` Alexander E. Patrakov
2006-05-09 23:31 ` Ingo Oeser
2006-05-10 7:05 ` Jan Engelhardt
2006-05-10 9:51 ` Alexander E. Patrakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43AF7F00.50304@ums.usu.ru \
--to=patrakov@ums.usu.ru \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.