From nobody@FreeBSD.ORG  Wed Jul 26 19:29:21 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 9F26D37BFF2; Wed, 26 Jul 2000 19:29:21 -0700 (PDT)
Message-Id: <20000727022921.9F26D37BFF2@hub.freebsd.org>
Date: Wed, 26 Jul 2000 19:29:21 -0700 (PDT)
From: andrew@fortress.org
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: more doesn't handle 8-bit characters properly
X-Send-Pr-Version: www-1.0

>Number:         20204
>Category:       bin
>Synopsis:       more doesn't handle 8-bit characters properly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ps
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 26 19:30:00 PDT 2000
>Closed-Date:    Fri Aug 27 12:32:20 GMT 2004
>Last-Modified:  Fri Aug 27 12:32:20 GMT 2004
>Originator:     Andrew Webster
>Release:        4.0
>Organization:
PubNIX
>Environment:
FreeBSD guardian.fortress.org 4.0-RELEASE FreeBSD 4.0-RELEASE #3: Sat Jun 17 07:25:57 EDT 2000     andrew@guardian.fortress.org:/usr/src/sys/compile/GUARDIAN-4.0  i386  
>Description:
when using more to paginate a file containing extended characters, such
as accented characters in the ISO-8859-1 set, it displays  (a grave) as ^`, and 
a  (c cedilla) as ^g, etc.

A command line option to display extended characters would be useful


>How-To-Repeat:
more any file with french, spanish, german characters.
>Fix:
isprint routine in GCC is the source of the problem.
Would need to use a different macro, possibly not ctype, or a locale
knowlegable one at least.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->ps 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Thu Jul 27 03:12:59 PDT 2000 
Responsible-Changed-Why:  
Paul looks after less/more in the base system. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20204 
State-Changed-From-To: open->closed 
State-Changed-By: tjr 
State-Changed-When: Fri Aug 27 12:31:08 GMT 2004 
State-Changed-Why:  
Problem does not exist in -STABLE or -CURRENT with correct locale 
environment variable settings (e.g. LANG=en_AU.ISO8859-1). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20204 
>Unformatted:
