Date: Tue, 12 Mar 2002 01:20:02 -0800 (PST) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/35812: strings(1) does'n print russian characters Message-ID: <200203120920.g2C9K2373999@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/35812; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203120920.g2C9K2373999>