Skip to content

Commit e10afcd

Browse files
committed
Don't encode text
This does also mean that we have to set STDOUT in binary mode so a sentence with e.g. Japanese characters cannot give the message: ``` Wide character in print at /usr/lib/perl5/site_perl/5.26.1/Doxygen/Filter/Perl.pm line 583 ```
1 parent 2313589 commit e10afcd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-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

0 commit comments

Comments
 (0)