Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 16:56:02 +0100 (CET)
From:      =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To:        "Prinzler, Jaromir" <jprinzler@tplan-gmbh.de>
Cc:        ports@freebsd.org
Subject:   Re: BSD + mount + nwfs = German Umlauts ?
Message-ID:  <56242.192.168.1.2.1204041362.squirrel@webmail.alpha-tierchen.de>
In-Reply-To: <000001c8784d$ace0aec0$640da8c0@prinzler>
References:  <000001c8784d$ace0aec0$640da8c0@prinzler>

next in thread | previous in thread | raw e-mail | index | archive | help
Jaromir Prinzler wrote:

> I have look in your source on
> "/usr/ports/net/ncplib/work/ncplib-1.3.4/lib/ncp". On file "ncpl_nls.c" i
> can find the russian tables to convert
> the characters.
>
>     static u_int8_t alt2koi8[] = {
>             0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, /* 0x00 */
>             0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f,
>             0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, /* 0x10 */
>             0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f, 0x5f,
>             .
>             .
>             . and so on.
>
> I have not found the table for "se" (swedish) to modify it and use it for
> german ?
> When you can say me where i can found this table than i need the
> information
> where
> ist the character (position) on the c array ?

The tables for "se" are right below the "koi2cp866" tables in the same file.

I can't tell you the correct position unless you tell me the wrong
characters shown instead of ü and Ü.

Björn






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56242.192.168.1.2.1204041362.squirrel>