From 8edf9493a92f53a5135b9d36f5e913b46d6486c8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 3 Nov 2019 02:02:04 +0000 Subject: [PATCH] doc: mknews: force plain-text NEWS to UTF-8 We'll have non-7-bit ASCII in the 1.2.0 release notes. --- Documentation/mknews.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl index 509da3b1..e78c1cb8 100755 --- a/Documentation/mknews.perl +++ b/Documentation/mknews.perl @@ -26,7 +26,7 @@ my $mtime = msg_datestamp($mime_latest->header_obj); my $tmp = "$dst+"; my $out; if ($dst eq 'NEWS') { - open $out, '>', $tmp or die; + open $out, '>:encoding(utf8)', $tmp or die; mime2txt($out, $mime_latest); for my $v (@releases) { print $out "\n" or die; -- 2.44.0