Skip to content

Commit ed5ca07

Browse files
authored
Merge pull request #17 from albert-github/feature/bug_encoding
Don't encode text
2 parents f9499c8 + e10afcd commit ed5ca07

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/Doxygen/Filter/Perl.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ sub PrintAll
381381
my $logger = $self->GetLogger($self);
382382
$logger->debug("### Entering PrintAll ###");
383383

384+
binmode STDOUT, ":utf8";
385+
384386
$self->_PrintFilenameBlock();
385387
$self->_PrintIncludesBlock();
386388

lib/Doxygen/Filter/Perl/POD.pm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ sub view_seq_code
137137
return "<code>$text</code>";
138138
}
139139

140+
sub encode {
141+
my($self,$text) = @_;
142+
return $text;
143+
}
144+
145+
140146

141147
sub view_verbatim {
142148
my ($self, $text) = @_;

0 commit comments

Comments
 (0)