From: Eric Wong Date: Sun, 3 Nov 2019 02:02:04 +0000 (+0000) Subject: doc: mknews: force plain-text NEWS to UTF-8 X-Git-Tag: v1.2.0~2 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=8edf9493a92f53a5135b9d36f5e913b46d6486c8 doc: mknews: force plain-text NEWS to UTF-8 We'll have non-7-bit ASCII in the 1.2.0 release notes. --- 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;