Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 21:32:50 +0300 (MSK)
From:      "."@babolo.ru
To:        roam@ringlet.net
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/35812: strings(1) does'n print russian characters
Message-ID:  <200203121832.VAA24182@aaz.links.ru>
In-Reply-To: <200203120920.g2C9K2373999@freefall.freebsd.org> from "Peter Pentchev" at "Mar 12, 2 01:20:02 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev writes:
> 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?
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




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