Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

[OT] Pod::Man, apostrophes and utf8 on Debian

by bsb (Priest)
on Aug 30, 2006 at 02:42 UTC ( [id://570291]=perlquestion: print w/replies, xml ) Need Help??

bsb has asked for the wisdom of the Perl Monks concerning the following question:

An annoyance I have with the man pages on Debian and Ubuntu is the conversion of ' to ’ which means I can't just cut and paste example code. This only occurs when nroff is targetting UTF8. It also occurred in Pod::Usage output which is using Pod::Man somewhere internally. I've found some discussion online, but the threads usually end saying "fix the man page". Is the output from Pod::Man broken in any sense?

My current work around is:

sudo cp /usr/bin/nroff /usr/local/bin/nroff sudo vi /usr/local/bin/nroff # Add in "T=-Tlatin1" appropriately

If there's a saner way to handle the issue I'd love to hear about it.

Brad
update: export MANOPT='-E latin1' prods man in the right direction

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://570291]
Approved by GrandFather
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-23 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found