Subject: Re: codeset recoding engine
To: Ignatios Souvatzis <is@jocelyn.rhein.de>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: tech-kern
Date: 11/13/1999 14:12:40
Ignatios Souvatzis wrote:
> I think you need two conversons:
> 
> kernel: filesystem-charset to utf-8
> then
> userland: utf-8 to LC_CHARSET.

I still think that doing the conversion in kernel is more efficient,
at least memory-wise. Note that normally all programs run in a session
have same locale. If the conversion would be done in userland,
each and every program would have to load the whole translation
table. This would be significant for e.g. eucjp, whose translation
table Unicode --> eucjp is about 50KB.

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org>      http://www.ics.muni.cz/~dolecek/
"It's IMPOSSIBLE to overcomment any code. It can only be undercommented."
@@@ Wanna a real operating system ? Go and get NetBSD, damn it! @@@