1 Patch derived from discussion at https://savannah.nongnu.org/bugs/?37503
3 --- texi2html-5.0/texi2html.pl 2010-06-30 17:01:27.000000000 -0500
4 +++ texi2html-5.0/texi2html.pl 2014-07-09 01:17:57.062990582 -0500
8 # FIXME this should be done only once, for @documentencoding
9 - my $encoding = lc(Texi2HTML::Config::get_conf('DOCUMENT_ENCODING'));
11 + my $input_encoding = Texi2HTML::Config::get_conf('documentencoding');
12 + if (defined($input_encoding))
14 + $encoding = lc($input_encoding);
16 if (defined($encoding) and $encoding ne '' and exists($Texi2HTML::Config::t2h_encoding_aliases{$encoding}))
18 $encoding = $Texi2HTML::Config::t2h_encoding_aliases{$encoding};
20 Fix failures in test/encodings.
22 --- texi2html-5.0/texi2html.pl 2014-07-09 01:22:06.000000000 -0500
23 +++ texi2html-5.0/texi2html.pl 2014-07-10 23:23:47.182097602 -0500
28 +binmode STDERR, ':encoding(utf8)';