From f4c9710f7408dacb5da0fc777e308f05357261e5 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Mon, 24 Aug 2020 20:38:47 +0300 Subject: [PATCH] appveyor fix #5: fix CR line ends tests on mswin --- fortune-mod/fortune/gen-fortune-docbook-page.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fortune-mod/fortune/gen-fortune-docbook-page.pl b/fortune-mod/fortune/gen-fortune-docbook-page.pl index 12878a2..6ab78c5 100644 --- a/fortune-mod/fortune/gen-fortune-docbook-page.pl +++ b/fortune-mod/fortune/gen-fortune-docbook-page.pl @@ -44,7 +44,7 @@ if ( $dirname and ( !-e $dirname ) ) } # The :raw is to prevent CRs on Win32/etc. -open my $out, '>:encoding(utf-8)', $output_fn; +open my $out, '>:encoding(utf-8):raw', $output_fn; $out->print(<<'END_OF_STRING'); -- 2.40.0