BSD + mount + nwfs = German Umlauts ?

Björn König bkoenig at alpha-tierchen.de
Tue Feb 26 15:57:21 UTC 2008


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





More information about the freebsd-ports mailing list