X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=blobdiff_plain;f=Documentation%2Fmknews.perl;h=e78c1cb87c57062e074abe37c0d0becce69c36dc;hp=509da3b123d54aa91f0678404c0fd68e5064da6b;hb=8edf9493a92f53a5135b9d36f5e913b46d6486c8;hpb=f5137830cd1f62bfc6039f5b84b1b2bc088f3b60 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;