From owner-freebsd-bugs Tue Mar 12 10:25: 6 2002 Delivered-To: freebsd-bugs@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id B359137B405 for ; Tue, 12 Mar 2002 10:25:02 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id VAA24182; Tue, 12 Mar 2002 21:32:50 +0300 (MSK) Message-Id: <200203121832.VAA24182@aaz.links.ru> Subject: Re: bin/35812: strings(1) does'n print russian characters In-Reply-To: <200203120920.g2C9K2373999@freefall.freebsd.org> from "Peter Pentchev" at "Mar 12, 2 01:20:02 am" To: roam@ringlet.net Date: Tue, 12 Mar 2002 21:32:50 +0300 (MSK) Cc: freebsd-bugs@FreeBSD.ORG From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Peter Pentchev writes: > The following reply was made to PR bin/35812; it has been noted by GNATS. > > From: Peter Pentchev > To: "."@babolo.ru > Cc: bug-followup@FreeBSD.org > Subject: Re: bin/35812: strings(1) does'n print russian characters > Date: Tue, 12 Mar 2002 11:14:49 +0200 > > On Mon, Mar 11, 2002 at 10:50:01PM -0800, "."@babolo.ru wrote: > > Gennady Proskurin writes: > > > > > > >Number: 35812 > > > >Category: bin > > > >Synopsis: strings(1) does'n print russian characters > > > >Originator: Gennady Proskurin > > > > > > >Description: > > > strings(1) does'n print russian characters due to incorrect type cast. > > > > > > >How-To-Repeat: > > > echo 'some russian chars' | strings > > > > One more place to patch. It is my patch I use about year: > > Would this not be better off with another cast to unsigned char > instead of & 0xff? I am sure this overcomplicates simple thing. Just try. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message