Bug 20204

Summary: more doesn't handle 8-bit characters properly
Product: Base System Reporter: andrew <andrew>
Component: binAssignee: ps
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description andrew 2000-07-27 03:30:00 UTC
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

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.
How-To-Repeat: more any file with french, spanish, german characters.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-27 11:12:59 UTC
Responsible Changed
From-To: freebsd-bugs->ps

Paul looks after less/more in the base system.
Comment 2 Tim Robbins freebsd_committer freebsd_triage 2004-08-27 13:31:08 UTC
State Changed
From-To: open->closed

Problem does not exist in -STABLE or -CURRENT with correct locale 
environment variable settings (e.g. LANG=en_AU.ISO8859-1).