Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 1996 13:29:35 +0300 (MSK)
From:      =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) <ache@nagual.ru>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-hackers@freebsd.org, imp@village.org
Subject:   Re: setlocale question
Message-ID:  <199609291029.NAA00920@nagual.ru>
In-Reply-To: <199609290437.GAA05650@uriah.heep.sax.de> from "J Wunsch" at "Sep 29, 96 06:37:35 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Yes, cat seems to require a setlocale(), though
> 
> 	setlocale(LC_CTYPE, "");
> 
> is probably sufficient.  It is needed in case the -v option is
> specified.

No, cat not require setlocale() (old variant, at least).
It uses isascii() for -v which is locale-independend.

-- 
Andrey A. Chernov
<ache@nagual.ru>
http://www.nagual.ru/~ache/



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