Bug 427042 - Quote characters come out wrong in gnome-terminal
Quote characters come out wrong in gnome-terminal
Product: Fedora
Classification: Fedora
Component: perl (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-12-30 11:43 EST by Ed Avis
Modified: 2008-03-20 08:07 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-20 08:07:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ed Avis 2007-12-30 11:43:48 EST
Description of problem: running man(1) in gnome-terminal mangles the manual
pages changing ASCII ' to a non-ASCII closing quote character.  But this is not
correct, because often that character is used in code samples and this breaks them.

Even outside code samples, the ' character is intended to be a neutral vertical
mark, leaning neither left nor right (see
<http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html>), so it is not correct to
convert it to a closing quote.

Version-Release number of selected component (if applicable):

% man --version
man, version 1.6e
% rpm -q man

(yes, fc7 is the version included with Fedora 8, see

How reproducible:

Install the package perl-File-Slurp to provide an example man page.  Log in to a
GNOME session and start gnome-terminal with Applications -> System Tools ->
Terminal.  Set LANG=en_GB.UTF-8 or en_US.UTF-8 and have the LC environment
variables unset.  Then say 'man File::Slurp'.
Actual results: the manual page appears with code example

my $text = read_file( XfilenameX ) ;

where X is a non-ASCII closing quote character (according to od -t u1, it is the
UTF-8 byte sequence 226 128 153).

Expected results: the example code should have the ASCII ' character.

Additional info: running man from the Linux console seems to work fine, even
though the value of LANG is the same.
Comment 1 Ivana Varekova 2008-03-20 04:56:50 EDT
This is the man-page problem - groff has a special symbol to display  '
character - man pages should use this symbol.
Comment 2 Marcela Mašláňová 2008-03-20 08:07:26 EDT
This is know bug, it was fixed in new perl-5.10.0 in F-9. The problem was caused
by pod2man, which is responsible for generating manual pages for perl. 

The backport fix isn't possible because whole pod2man was rewrite. Please be
patient and wait for new Fedora.

Note You need to log in before you can comment on or make changes to this bug.