Subject: Re: German "Umlauts" in vi
To: None <netbsd-users@netbsd.org>
From: Lasse =?iso-8859-1?Q?Hiller=F8e?= Petersen <lhp@toft-hp.dk>
List: netbsd-users
Date: 02/11/2002 22:56:40
At 13:19 +0100 11/02/02, Hans Dinsen-Hansen wrote:
>Hi!
>On Mon, 11 Feb 2002 08:02:54 +0100 (CET), Michael Kukat wrote:
>
>>vim !=3D vi in NetBSD. vim just is capable of "Umlauts" out of the box,=
 just vi
>>has a bit problems with this.

I guess this is because many programs are (somewhat incorrectly) assuming
ISO 8859-1 in absence of any locale information.

>Vi has no problem with umlauts and other 8 bit characters.  Vi just
>uses the library functions c_type, toupper, tolower.
>
>These functions are the "good old" standard 7 bit ascii versions.
>They may be enhanced to cover any 8 bit alphabet, as e.g. "Latin1".  I
>call my patches "dirty" because they do not help our Eastern European
>and Asian friends.
>

=46WIW, ftp://ftp.netbsd.org/pub/NetBSD/arch/i386/french-1.4/locale.tgz seem=
s
to work fine with 1.5.2?

Then just do
export LC_CTYPE=3Diso_8859_1
and type "rote gr=FCtze" and "r=F8dgr=F8d med fl=F8de" as much as you please=
=2E

This is even "sort of" documented at
http://www.netbsd.org/Documentation/misc/#locales

Please let us all know if there is a reason this should absolutely not be
used with 1.5.2, given that it seems to work (at least for me).

-Lasse