From 58b06d932a93875512a6c315d04811fc76b96a4b Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sun, 19 Apr 2009 01:35:29 +0000 Subject: [PATCH] rfc1345convert: prevent output encoding warnings Output is fixed code which should always be UTF-8, regardless of STDOUT capabilities (as it's rarely shown directly). Declare this to prevent warnings about wide characters (or worse). --- rfc1345convert | 1 + 1 file changed, 1 insertion(+) diff --git a/rfc1345convert b/rfc1345convert index f6f0ab8..cae6d47 100755 --- a/rfc1345convert +++ b/rfc1345convert @@ -3,6 +3,7 @@ use strict; use warnings; +use open OUT => ':utf8', ':std'; use Data::Dumper; our $VERSION = '1.01'; -- 2.30.0