Opened 15 years ago

Closed 15 years ago

#2214 closed defect (fixed)

Perl Module packages install UTF-8 man pages

Reported by: Randy McMurchy Owned by: Randy McMurchy
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Noted are 3 Perl Module packages whose UTF-8 man pages have some errors. They manifest as missing characters, and all occurances of all the man pages (there are multiple pages in the each package) are in the same place (the copyright message and author listing)

They manifest themselves as Ingy döt Net <ingy@…> displayed as: Ingy dt Net <ingy@…>

The 3 packages are YAML-0.58, Spiffy-0.30 and Test::Base-0.50

Change History (5)

comment:1 by Randy McMurchy, 15 years ago

Summary: UTF-8 Man PagesPerl Module packages install UTF-8 man pages

comment:2 by alexander@…, 15 years ago

The proper spelling is Ingy döt Net, but the perl files are also intended to be human readable. So ASCIi approximation has to be used, maybe:

find . -type f | xargs sed -i 's,\xc3\xb6,o,g'

comment:3 by bdubbs@…, 15 years ago

We could have the users run:

$ grep -rl $'\xc3\xb6' /usr/share/man/*

to check for files that have certain characters. On my system I get:

usr/share/man/man1/ysh.1
/usr/share/man/man3/Spiffy.3
/usr/share/man/man3/Test::Base::Filter.3
/usr/share/man/man3/Module::Install::TestBase.3
/usr/share/man/man3/Test::Base.3
/usr/share/man/man3/Test::YAML.3
/usr/share/man/man3/YAML::Types.3
/usr/share/man/man3/YAML::Node.3
/usr/share/man/man3/YAML::Loader.3
/usr/share/man/man3/YAML::Error.3
/usr/share/man/man3/YAML::Loader::Base.3
/usr/share/man/man3/YAML.3
/usr/share/man/man3/YAML::Dumper::Base.3
/usr/share/man/man3/YAML::Base.3
/usr/share/man/man3/YAML::Marshall.3
/usr/share/man/man3/YAML::Tag.3
/usr/share/man/man3/YAML::Dumper.3

and then run an appropriate sed. I also have a lot of other directories in my man pages (de, es, ja, etc) where I suspect these and other non-ascii characters exist.

In all honesty, this is really a trivial issue and should be marked wontfix. To do it correctly, all man pages would have to be reviewed and a set of corrections created for each unique situation. The effort is far more than what its worth.

comment:4 by Randy McMurchy, 15 years ago

Owner: changed from blfs-book@… to Randy McMurchy
Status: newassigned

Bruce, *all* man pages have been reviewed. And we have a set of corrections for each and every bad one. We'll fix the packages in the source. It's a trivial fix.

comment:5 by Randy McMurchy, 15 years ago

Resolution: fixed
Status: assignedclosed

Modified the Perl-Modules instructions so that no UTF-8 encoded man pages are installed.

Note: See TracTickets for help on using tickets.