From owner-freebsd-bugs Tue Mar 12 1:20:20 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9CAAB37B43A for ; Tue, 12 Mar 2002 01:20:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2C9K2373999; Tue, 12 Mar 2002 01:20:02 -0800 (PST) (envelope-from gnats) Date: Tue, 12 Mar 2002 01:20:02 -0800 (PST) Message-Id: <200203120920.g2C9K2373999@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/35812: strings(1) does'n print russian characters Reply-To: Peter Pentchev 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 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? G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am jealous of the first word in this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message