Skip to content

Commit 429a9ed

Browse files
authored
Merge pull request #42 from botovq/master
Mandoc supports UTF-8 since 2011
2 parents 43c6aa0 + 3235a0d commit 429a9ed

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/Pod/Perldoc/ToMan.pm

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,6 @@ sub _have_groff_with_utf8 {
209209
$version ge $minimum_groff_version;
210210
}
211211

212-
sub _have_mandoc_with_utf8 {
213-
my( $self ) = @_;
214-
215-
$self->_is_mandoc and not system 'mandoc -Tlocale -V > /dev/null 2>&1';
216-
}
217-
218212
sub _collect_nroff_switches {
219213
my( $self ) = shift;
220214

@@ -242,7 +236,6 @@ sub _get_device_switches {
242236
if( $self->_is_nroff ) { qw() }
243237
elsif( $self->_have_groff_with_utf8 ) { qw(-Kutf8 -Tutf8) }
244238
elsif( $self->_is_ebcdic ) { qw(-Tcp1047) }
245-
elsif( $self->_have_mandoc_with_utf8 ) { qw(-Tlocale) }
246239
elsif( $self->_is_mandoc ) { qw() }
247240
else { qw(-Tlatin1) }
248241
}

0 commit comments

Comments
 (0)