diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2013-06-03 21:30:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2013-06-03 21:30:01 +0000 |
commit | 4e5bfe70c0eee2fc947493e24f2cfc196b80a030 (patch) | |
tree | f5829f443ffc951f989adf4044375b37737667d6 /gnu | |
parent | 6f121199fa42393578be8ecc0359d68f3cda3bb6 (diff) |
Only produce UTF-8 output if the user's locale asks for it.
Will send this upstream as well.
OK millert@ bluhm@ stsp@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm b/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm index 55616e8b899..be144df8084 100644 --- a/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm +++ b/gnu/usr.bin/perl/cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm @@ -256,7 +256,7 @@ sub _get_device_switches { if( $self->_is_nroff ) { qw() } elsif( $self->_have_groff_with_utf8 ) { qw(-Kutf8 -Tutf8) } elsif( $self->_is_ebcdic ) { qw(-Tcp1047) } - elsif( $self->_have_mandoc_with_utf8 ) { qw(-Tutf8) } + elsif( $self->_have_mandoc_with_utf8 ) { qw(-Tlocale) } elsif( $self->_is_mandoc ) { qw() } else { qw(-Tlatin1) } } |