From: Mischa POSLAWSKY Date: Sun, 19 Apr 2009 01:35:29 +0000 (+0000) Subject: rfc1345convert: prevent output encoding warnings X-Git-Tag: v1.3~181 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/58b06d932a93875512a6c315d04811fc76b96a4b 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). --- 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';